I migrated a Visual Studio WIN32 app (C++) from VS2008 to VS2012 Ultimate. The VS2008 was run under Windows XP SP3 (32bit) and the VS2012 Ultimate is run under Windows 7 Pro (64 bit). When I run and copy the EXE file generated from the VS2008 build to the Windows 7 machine, the application runs without a problem. When I build in VS2012 and copy the EXE file to my XP machine and run the app I get a window that says the application is not a WIN32 app. No changes have been made to the project configuration after the migration as the build complied and linked successfully in VS20012. I need to have this application running on both XP and Windows 7 machines when building on my VS2012. What do I need to do to get this to happen?
↧