posts filed under "BadImageFormatException"
(There are 1 entries for the tag BadImageFormatException.)

Existing .NET applications might run into an issue with Win32 Dynamic Link Libraries that might not be executed in a 32-bit process in a .NET x64 environment. You might see an exception as follows: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) One possible solution: If a full recompile of the solution is feasible Visual Studio 2005 allows to change the Platform Target from AnyCPU to x86 under the Build Settings. ...