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!
Asked
Active
Viewed 1.6k times
1 Answers
4
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.

Community
- 1
- 1

WiperWoper
- 318
- 1
- 2
- 8
-
Awesome, I just installed the update, but I'm having trouble finding the window you have a screenshot of. Where did you go to get that? My properties window doesn't look like that. – Joshua Terrill Oct 31 '12 at 17:27
-
@Joshua Open up the Solution Explorer if it isn't (View -> Solution Explorer). From there, right click on the name of your project and click Properties. The window I posted previosly should show up. The option you need to find is in Configuration Properties -> General Tab. – WiperWoper Oct 31 '12 at 19:26
-
You are talking about the C++ IDE, the OP is talking about one of the managed IDEs. – Hans Passant Oct 31 '12 at 20:37
-
Also include PSAPI_VERSION=1 as a preprocessor definition to enable the XP Support . – Anantha Subramaniam Jan 04 '13 at 06:26
-
Thx for your answer, picture is a very great idea! :) – Orelsanpls Jul 30 '14 at 07:16