VS2012 development Project migrated to WinXP

Source: Internet
Author: User

A project has recently been ported to XP, but after running EXE under XP, it is always an error that XXX.exe is not a valid Win32 application. But the output is really Win32 release version of EXE.

The solution is as follows:

1. Install VS2012 Update 1

2. Install VS2012 update 4

3. Restart VS, open project, right-click Project->properties->configuration properties->general->platform toolset-> in the drop-down list, select Windows XP (V110_XP) "->apply

Then build the project again.

If not, there are two possible reasons:

1, if XP does not install the VC environment, need to install vcredist for vs2012, Microsoft Official website can be downloaded.

2, Detection VS2012 project properties,Linker->system->subsystem, whether set up correctly, I here is nothing to choose, just have not been able to run XP, select Console (/subsystem: CONSOLE) is OK.

VS2012 development Project migrated to WinXP

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.