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
i have this same problem with windows 7 X64, tried too run in X32 folder but did not work..
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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?)
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Bernard, how could we get that SimpleDiag version of yours, which is compatible with winx64?
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.
I fixed this problem by making all the targets of the projects built be x86. This may be because of an irrational fear of building using AnyCPU. There has been quite a bit written by others on the potential pitfalls. As a matter of fact, in Microsoft''s Visual Studio 2010 AnyCPU is no longer the default target.
See the MSDN blog entry "AnyCPU Exes are usually more trouble than they're worth" for some more info:
http://blogs.msdn.com/b/rmbyers/archive/2009/06/09/anycpu-exes-are-usually-more-trouble-then-they-re-worth.aspx
I uploaded a ZIP file with the updated binaries into my SkyDrive account. If you are interested in giving it a try, it should just be a matter of unzipping it into a Emulare installation. The older binaries should get replaced.
The ZIP file can be found at:
https://skydrive.live.com/redir.aspx?cid=2288d46a5ca98887&resid=2288D46A5CA98887!129&parid=2288D46A5CA98887!127&authkey=!AMaKV6RiXUanLMo
Steve
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks smorloc for taking care of this.