Hey everyone. I'm hoping you can help me. Currently I am developing a media player using MCI and C#. The project has been worked on on XP 32 bit, Vista 32 bit and Visa 64 bit. It works fine on the 32 bit systems, however when I try to load the media file on the 64 bit computer I get an unhandled exception. It was:
An unhandled exception of type 'System.BadImageFormatException' occurred
Additional information: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Please help me fix this problems. Its being developed using VS 2008. Thank you.
Loading
Roei BarPosted Sep 1, 2009, 6:57 PM
x86
this will build it to work with dlls compatibility mode to win32 even on 64bit computers.
it should solve your problem...
hope this helps
Shankar GPosted May 14, 2012, 4:30 AM
I did all you said but still i have the problem. the problem is System.BadImageFormatException.
i have attached the error details as a image pls reply me as soon as possible.
i'm using .net 3.5(MS Visual Studio 2010)
Thanks in advance..
regards,
Shankar G
BryanPosted Sep 1, 2009, 8:33 PM