not idle

Force .NET to run in 32-bit mode

Monday, November 3rd, 2008

I have recently installed 64-bit Vista on my computer and was trying to run Visual Studio project with dependency to some library that runs only in 32-bit mode – there was BadImageFormatException thrown at runtime. After calling Ldr64.exe from command prompt, everything was working fine: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow Note: You have to run command prompt as [...]

Read the rest of this entry »