Posts : 122 Join date : 2008-11-08 Location : Sydney, Australia
Subject: Crash when clicking on "file details" button Sat Feb 07, 2009 8:17 am
Hi,
I get the following crash every time I click on the "File Details" button:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Media_Companion.mediainfo.MediaInfo_New() at Media_Companion.mediainfo..ctor() at Media_Companion.Form1.Button10_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
Subject: Re: Crash when clicking on "file details" button Sat Feb 07, 2009 2:27 pm
Have you got the "MediaInfo.dll" file located in the same folder as your "Media Companion.exe"?
emmegi New User
Posts : 4 Join date : 2009-02-07
Subject: Re: Crash when clicking on "file details" button Sat Feb 07, 2009 4:33 pm
I got the same problem.
I have the MediaInfo.dll in the same directory where the exe file is placed "C:\Program Files (x86)\XBMC Media Companion\Media Companion 2.135.exe"
I have media companion installed on a pc with windows vista ultimate 64bit.
Bye Max
billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
Subject: Re: Crash when clicking on "file details" button Sat Feb 07, 2009 5:35 pm
Here is a copy from a post on another forum regarding the same issue, all be it with a different software.
Quote :
One of the biggest problems with 64 bit is that 64 bit binaries can't call 32 bit libraries and vice versa. FAVC 1.07 was released with the 32 bit version of MediaInfo.DLL in it, so when FAVC tries to call it it dies. If you have 64 bit Windows, go get the 64 bit version of mediainfo.dll, copy it into the MediaInfo folder in FAVC, and see if that fixes it.
By the sounds of it you need to have a 64bit version of mediainfo.dll
If you manage to get this working then please let me know, I could easily make 2 releases one for 32bit and another for 64bit machines.
You can find a 64bit version of mediainfo.dll here
The file you want is in "MediaInfo_DLL_0.7.10_Windows_x64.zip", just replace the mediainfo.dll with this one.
emmegi New User
Posts : 4 Join date : 2009-02-07
Subject: Re: Crash when clicking on "file details" button Sat Feb 07, 2009 5:46 pm
With the 64bit dll version it does work...
Thanks
AnthonyB Senior Member
Posts : 122 Join date : 2008-11-08 Location : Sydney, Australia
Subject: Re: Crash when clicking on "file details" button Sun Feb 08, 2009 11:30 am
Yep, x64 version of mediaInfo.dll works as expected on my Vista x64 machine.
Only thing I've since noticed now that it is working is that the 'OK" button is only just barely visible - it seems to always get created under the bottom edge of the MC app window irrespective of what size I make the window.
Sponsored content
Subject: Re: Crash when clicking on "file details" button