views:

22

answers:

0

I am using Visual Studio to compile some C++ Code. When I compile my program in Debug mode it works perfectly, but when I try compiling it in Release mode, VS halts when Generating Code (ie: took 20 mins and still didn't finish). After I forced VS to stop the build process, the executable generated was huge 2MB while it should be about 304KB.

Please can you help figure this out. How should I setup the configuration parameters for Release mode to work?

Thanks,