C ++ binary does not work on Windows XP

I have a very simple C ++ program compiled into VS 11 Beta on Windows 7.

All project parameters by default except the runtime library. I changed multithreaded DLL (/ MD) to multithreaded (/ MT). As far as I know, this statically links the runtime library.

Attempting to run this exe on another Windows 7 machine with the installed version of VS 11 Beta works fine.

Attempting to run it on a Windows XP machine without installing VS causes a pop-up error message.

"**. exe is not a valid Win32 application"

Are there any settings that need to be changed in order to do binary work on XP that was compiled using VS 11 Beta on Win7?

+1
source share
2 answers

VS 11 no longer supports Windows XP. This is by design from Microsoft.

http://connect.microsoft.com/VisualStudio/feedback/details/690617

This is the design behavior in MFC and CRT for Visual Studio 11 Beta. The minimum supported operating systems are Windows Server 2008 SP2 and Windows Vista. Windows XP does not support the beta operating system (development time or runtime).

By carefully discussing the discussion, it is likely that Windows XP may be supported in the release version. I would not charge for it.

Edit: Microsoft softened: Orienting Windows XP to C ++ in Visual Studio 2012

+6
source

, 64- Windows. Windows XP 32- .

+2

All Articles