I read in another thread that in order to make exe applications run on a 32bit OS, you need to go into the properties of your program and change Target CPU to x86. I've done this and for some reason, I still get an invalid win32 error when I try running it in Windows XP. I would post a picture but I don't have enough rep, so I hope you get what I'm trying to say!
Visual Studio remains a 32 bit application, though certain components (e.g., diagnostics/debuggers, MSBuild, compilers, designers) will take advantage of 64-bit processors if available.
I had your exact same problem, take a look here How to compile for Win XP with Visual Studio 2012?
Basically, VS 2012 does not support Windows XP, so you need to download & install CTP Update if you want your program to work in that OS.
Once installed, you need to change this option in your project properties:
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With