(1)project->settings->microsoft foundation classes->not using mfc or using mfc in a static library;(2)build->set active configuration->win32 release or build->batch build->win32 release.That's all
Build-->Set Active Configration-->win32 Realease 选后出的EXE 比DEBUG 的EXE小的多!!这是为什么,而且有些功能不全!
至于Release的功能不全,你的程序中是不是添加了一些调试用的语句:#ifdef _DEBUG
...
...
#endif
在以上定义的语句只在Debug版本中有用