Problems such as the title, through countless times after Baidu and Google, found that Microsoft has confirmed that this is a flaw, install Vs2012 Update 3 of the upgrade package can solve the problem.
At the same time, in the distribution of the package, Vcredist_x86.exe with the program to distribute a copy of it.
Also remember to bring the DLL in debug mode, and the DLL in debug mode is msvcr110d
This allows the software to run under 2003 and XP and!vs2012 's mishap is repaired.
VS2012 Upgrade installation package Online installation program is: VS2012.3
Of course, you can also msvcrt the library static link to the EXE, because there are LIB file. So. We can check this option box:
Of course, the only regret is that the compiled program has become larger hundreds of K, the file is less, or worthwhile.