How I can re-run my C# AnyCPU application as 64 bit, if it's running as 32 bit (WOW64)?
I develop my application for 32 bit and 64 bit Windows. I have a p开发者_运维百科roblem: 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)?
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).
If it is a web application, then you need to set the identity of the application pool to 64-bit.
精彩评论