Moved to windows 7 a few months ago and today when debugging an app originally coded in Visual Studio 2003 ported to VS 2005 I got this bizarre error
“An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)”
After a few hours spent searching.. the apparent solution is to set your build setting from “Any CPU” to “x86″
Thanks Benjamin from
http://www.arenawars.net/Blog/post/2006/08/18/Windows-XP-x64-Experiences.aspx
Incoming search terms:
- An attempt was made to load a program with an incorrect format (Exception from HRESULT: 0x8007000B)
- exception from hresult: 0x8007000b
- an attempt was made to load a program with an incorrect format (exception from hresult: 0x8007000b
- an attempt was made to load a program with an incorrect format visual studio 2005
- 0x8007000b incorrect format
- {an attempt was made to load a program with an incorrect format (exception from hresult: 0x8007000b)}
- cuetools attempt was made to load
- x64 an attempt was made to load a program with an incorrect format visual studio 2010
- visual studio an attempt was made to load a program with an incorrect format (exception from hresult: 0x8007000b)
- visual studio 2010 an attempt was made to load a program with an incorrect format (exception from hresult