2

I try to run a .exe on a XP 32bits computer. I use Visual Studio 2012 on a Windows 7 64bits.

I got a message " **.exe is not a valid win32 application.

So, it's because I have compiled the program in 64bits.

I try to change the platform target in my project properties, but I have only "Win32, ARM and x64"

Win32 = x86 ?

Why I have not x86 platform on the list ?

A screenshot :

enter image description here

I'm sorry for my bad english...

Thank you in advance.

EDIT : Ok, Win32 == x86, so why when I compile in Win32, I get the message "**.exe is not a valid win32 application." on a 32bits win XP ?

Slot
  • 1,006
  • 2
  • 13
  • 27

2 Answers2

2

x86 is for Intel or AMD specific code generation, while Win32 is a generic 32-bit target. Ref: http://en.wikipedia.org/wiki/Win32, Difference between WIN32 and x86 in smart card project

Community
  • 1
  • 1
Shantanu
  • 373
  • 2
  • 8
0

The 32-bit Windows platform is called Win32 in Visual Studio. So yes, x86 == Win32.

Angew is no longer proud of SO
  • 167,307
  • 17
  • 350
  • 455
  • Ok, so why when I compile in Win32, I get the message "**.exe is not a valid win32 application." on a 32bits win XP ? – Slot Mar 20 '13 at 14:54