Menu

#3 Crashes as soon as it starts:

open-fixed
nobody
None
9
2012-05-27
2011-05-17
No

On W7, 64 bit

************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'SimpleDiag, Version=1.0.3906.24145, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'SimpleDiag, Version=1.0.3906.24145, Culture=neutral, PublicKeyToken=null'
at emulare.Interface.MainWindow.MainWindow_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.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)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4959 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
emulare
Assembly Version: 1.7.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/emulare_1_7/emulare.exe
----------------------------------------
emulare_core
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/emulare_1_7/emulare_core.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.3.1.28514
Win32 Version: 2.3.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/emulare_1_7/WeifenLuo.WinFormsUI.Docking.DLL

W7, 64bit, 6Gb RAM

Discussion

  • James Hardiman

    James Hardiman - 2011-05-17
    • priority: 5 --> 9
     
  • Anthony Sandoval

    i have this same problem with windows 7 X64, tried too run in X32 folder but did not work..

     
  • Anonymous

    Anonymous - 2011-09-15

    I know why. SimpleDiag was compiled with the x86 flag instead of "Any CPU" like all the other DLLs in this project. I have a working SimpleDiag.dll in here (recompiled with the "Any CPU" flag) and it works nicely. There might be ways to force this onto the DLL (CorFlags.exe?) but I do not know how. Unless I am missing something, this should be a breeze to fix. In the meantime, I might expose the fixed dll somewhere. (not sure if I can legally?)

     
  • Anonymous

    Anonymous - 2011-09-29

    If anyone is interested I have a working copy for Winx64 (and potentially for any other platform for that matter) and also did a component for a QVGA ILI9325-based controller LCD. The owner does not appear to be responsive to emails so I might decide to post the .dll publicly eventually. In the meantime, you can contact me to get them. Essentially, you install the software like usual and you drop the .exe and .dlls that I have on top.

     
  • Anonymous

    Anonymous - 2011-10-19

    Bernard, how could we get that SimpleDiag version of yours, which is compatible with winx64?

     
  • vingard

    vingard - 2011-11-18

    Hi Bernard. Can you provide me the fix. I have windows 7 64bit and I cannot run emulare. I tried CoreFlags but it is not fixing the problem. I appreciate it.

     
  • Anonymous

    Anonymous - 2012-02-09

    Thanks smorloc for taking care of this.

     
  • Imre Leber

    Imre Leber - 2012-05-27
    • status: open --> open-fixed
     

Log in to post a comment.