Vista and my solution?

Started by
2 comments, last by devronious 15 years, 12 months ago
Ever since I upgraded to Vista64 I get an error when I try to run my app or debug it. It some "BadImageFormatException was unhandled". Anybody know what this is about and how to fix it?
Advertisement
You're probably trying to use a 32 bit DLL. Change your platform from Any CPU to x86 to force your app to run in 32 bit mode.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Quote:Original post by Promit
You're probably trying to use a 32 bit DLL. Change your platform from Any CPU to x86 to force your app to run in 32 bit mode.


Can Vista not use 32-bit dlls in 64-bit apps ? I thought it was only 16-bit code that was out of the question ?

Edit: Then again now that I think about it, passing parameters on the stack might be messed up if 64-bit code was calling 32-bit dlls- given the different stack word size..
Yea that was it. I switched the target to x86 and it works now.

Thanks,

Devin

This topic is closed to new replies.

Advertisement