Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

One solution for building 32 and 64 bit exe

$
0
0

Hi everybody,

I have built one MAPI based application. For this I have to build 32-bit and 64-bit exe separately. I don't want to build two solutions. I have to modify one solution such that it will execute some lines and 64-bit exe would be the output. And, if I want to build 32-bit exe some other lines would be executed. So, what should be the method to check for 32-bit or 64-bit conditional compilation. I have read about

#if defined( _WIN32 )

&

#if defined( _WIN64 )

, but one good answer would help me in solving the problem. Kindly help me in solving the problem.

Thanks & regards,

Talib Hussain


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>