Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Crash when clicking on "file details" button

Go down 
3 posters
AuthorMessage
AnthonyB
Senior Member
Senior Member



Posts : 122
Join date : 2008-11-08
Location : Sydney, Australia

Crash when clicking on "file details" button Empty
PostSubject: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSat 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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion 2.135
Assembly Version: 2.1.3.5
Win32 Version: 2.1.3.5
CodeBase: file:///C:/Old%20PC%20backup/Storage_old/Xbox/XBMC%20Media%20Companion/Media%20Companion%202.135.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** 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.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

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.
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSat Feb 07, 2009 2:27 pm

Have you got the "MediaInfo.dll" file located in the same folder as your "Media Companion.exe"?
Back to top Go down
http://billyad2000.co.uk
emmegi
New User
New User



Posts : 4
Join date : 2009-02-07

Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSat 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
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSat 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.
Back to top Go down
http://billyad2000.co.uk
emmegi
New User
New User



Posts : 4
Join date : 2009-02-07

Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSat Feb 07, 2009 5:46 pm

With the 64bit dll version it does work...

Thanks
Back to top Go down
AnthonyB
Senior Member
Senior Member



Posts : 122
Join date : 2008-11-08
Location : Sydney, Australia

Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitimeSun 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.

Crash when clicking on "file details" button Mc10
Back to top Go down
Sponsored content





Crash when clicking on "file details" button Empty
PostSubject: Re: Crash when clicking on "file details" button   Crash when clicking on "file details" button Icon_minitime

Back to top Go down
 
Crash when clicking on "file details" button
Back to top 
Page 1 of 1
 Similar topics
-
» Unhandled Exception entering File Details page for missing file
» Play Movie button uses "Windows Media Player" rather than associated program
» "Open Folder" button fails on one movie (opens c:\)
» MC 3.168: "Date Added" button shows modification order
» v 2.008 - No "save" button on fanart selection

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Jump to: