I have a Any CPU application installed to Program Files (x86). On one Windows 7 x64 machine, it runs as x64 as expected while on another Windows 7 x64 machine, it runs as x86!
How can this be? I expected it to run as x64 on both machines. What might be the reason and what can I do to always make it run as x64?
Does it matter where I am running it from - Program Files (x86)
in my case?
\Program Files
while a 64-bit program can be in\Program Files (x86)
. They will be all loaded correctly because the instruction set info has been written in the header – Bioluminescence