VS2012 compiled programs cannot perform problem resolution under XP and 2003

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.