問題:
vVC程序編譯成exe運行提示缺少msvcr100.dll、msvcp100.dll文件。
要點:
1、將編譯模式設置為 Release 模式,選擇對應的Win平台32位或64位;
2、設置設置運行時支持庫為“無”;
3、設置C/C++代碼生成為MT模式。
詳細:
menu bar: Project>Properties:
1.Configuration: > Active(Release) Platform: >Active(Win32)
2.Configuration Properties:
>General:
>Common Language Runtime Support: No common Language Runtime Support
>C/C++>Code Generation: Runtime Library>Multi-threaded(/MT)