强制.net 程序以32位模式运行
You can modify the PE header of the executable (using the "Corflags.exe" .NET Framework SDK utility) to force the executable to run in x86 mode on the x64 platform.
Information on "Corflags.exe" can be found here: http://www.request-response.com/blog/PermaLink,guid,cf345d71-cdc7-46b9-8c1c-eb21581a9222.aspx
The procedure is to:
- Go to the Start Menu, and Navigate to the "Microsoft Visual Studio 2008" folder, expand it and under the "Visual Studio Tools" folder, ran the "Visual Studio 2008 Command Prompt".
- In the command prompt, navigate to the folder where executable is located.
- Run the command "corflags /32BIT+ EXEName.exe"
- Run "corflags EXEName.exe" to verify that the "32BIT" flag was set to "1".
- You're done! You can now run the application properly.