Compile for x64 - Difference?

  • Thread starter Thread starter Sin Jeong-hun
  • Start date Start date
S

Sin Jeong-hun

I ran an executable written in C# and compiled for 'any CPU' on Windows
XP x64 edition. It didn't run as a 32bit application. (You know, if it
did, there's a *32 suffix at the Task manager". The file also ran on
32bit Windows XP.

A few minuits ago, I compiled it for 'x64' and it didn't run on 32bit
Windows XP. If an excutable compiled for any CPU can run as a 64bit
applicaton, why should I compile it for 'x64'? Is there any difference?
 
Sin Jeong-hun said:
I ran an executable written in C# and compiled for 'any CPU' on Windows
XP x64 edition. It didn't run as a 32bit application. (You know, if it
did, there's a *32 suffix at the Task manager". The file also ran on
32bit Windows XP.

A few minuits ago, I compiled it for 'x64' and it didn't run on 32bit
Windows XP. If an excutable compiled for any CPU can run as a 64bit
applicaton, why should I compile it for 'x64'? Is there any difference?

AFIAK it has something todo when you are not using only managed code...
for example using native 64 bit DLL's etc.
normally you would use 'any CPU'

Best Regards,

Jeroen Vandezande
 
Back
Top