I have a very basic program in C++ compiled in VS 11 Beta on windows 7.
All project settings are default except Runtime Library. I changed Multi-threaded DLL (/MD) to Mu
Probably you compiled for 64 bit Windows. Windows XP, however, only supports 32 bit code.