2

I develop my application for 32 bit and 64 bit Windows. I have a problem: If my application is launched from a 32-bit process on 64-bit OS, my application will run as 32-bit. How I can re-run my C# AnyCPU application as 64 bit, if it's running as 32 bit (WOW64)?

Aleksandr Vishnyakov
  • 1,872
  • 5
  • 23
  • 39

1 Answers1

7
  1. If it is a Windows application, then you can launch it from a 64-bit command window. You can find the 64-bit version of cmd.exe here: c:\windows\system32\cmd.exe (note, the 32-bit version is in c:\windows\SysWOW64\cmd.exe).

  2. If it is a web application, then you need to set the identity of the application pool to 64-bit.

Philipp Schmid
  • 5,778
  • 5
  • 44
  • 66