1.必要条件: VS2012需要安装Update 1补丁
2.设置Platform Toolset:在Project的Properties选择 General > Platform Toolset ->选择XP
3.设置Runtime Library为Multi-Thread,不要用Multi-DLL
在Project的Properties General> C/C++ > Code Generation > Runtime Library ->选择MT
1.必要条件: VS2012需要安装Update 1补丁
2.设置Platform Toolset:在Project的Properties选择 General > Platform Toolset ->选择XP
3.设置Runtime Library为Multi-Thread,不要用Multi-DLL
在Project的Properties General> C/C++ > Code Generation > Runtime Library ->选择MT