Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

32bit Build in Visual Studio 2012

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!

like image 583
Joshua Terrill Avatar asked Oct 31 '12 15:10

Joshua Terrill


People also ask

Is there a 32-bit version of Visual Studio?

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.


1 Answers

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:

Project Properties

Hope this helps.

like image 180
WiperWoper Avatar answered Oct 11 '22 05:10

WiperWoper