VC程序编译成exe后需msvcr100.dll、msvcp100.dll才能运行的解决方法

问题:
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)
原文地址:https://www.cnblogs.com/zuike/p/2995372.html