I have VS 2012 on Windows 7. I want to create an MFC program that can run on Windows XP. However, I received the following error while I moved the exe file to Windows XP: "This is not a valid win32 application."
After exploring the Internet, I found that I had to install Visual Studio 2012 Update 1 and change the platform toolkit from "Visual Studio 2012 (v110)" to "Visual Studio 2012 - Windows XP (v110_xp)." I also changed the target machine to "MachineX86 (/ MACHINE: X86)." This time I get another error while I run the exe file in Windows XP: "The initialization point of the starting point of the procedure cannot be located in the dynamic library KERNEL32.dll".
Now I do not know what to do :( I really appreciate if someone can help me :).
Please note that I tried a simple MFC dialog program without adding code to it.
shervin
source share