Unhandeled exception when launching MCX

#1
I used ModelConverterX on my Windows 7 64 without any problems.
But now, after a HD crash and a re-installation of Windows 7 64 I get an unhandeled exception when I launch ModelConverterX.
I have checked the .NET 2.0 implementation with Aaron Stebner's verification tool and everything is OK.
This is NOT a bug in ModelConverterX because I get the same error when I launch an older version of the tool that works on another pc with Windows7 64 without problems.
It seems to be a problem with the GDI but I have no idea what causes the problem. If I click on [Continue] in the errormessage dialog, ModelConverterX shows a red X in the display area.

Here are the details (unfortunately in german :rolleyes: but I think the important things are clear):

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.AccessViolationException: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
bei GRV11.GR.GDI32_ChoosePixelFormat(IntPtr hdc, PIXELFORMATDESCRIPTOR& pfd)
bei GRV11.GR.SupportInitializeOpenGL(IntPtr hwnd, IntPtr& hdc, IntPtr& hglrc)
bei GRV11.GRControl.OnPaint(PaintEventArgs e)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Launcher_ModelConverterX
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ModelConverterX.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400).
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.5447 (Win7SP1GDR.050727-5400).
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.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
ModelConverterX
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ModelConverterX.DLL.
----------------------------------------
Interfaces
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/Interfaces.DLL.
----------------------------------------
ObjectModel3D
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ObjectModel3D.DLL.
----------------------------------------
ObjectWriter
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ObjectWriter.DLL.
----------------------------------------
ObjectReader
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ObjectReader.DLL.
----------------------------------------
ObjectRenderer
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ObjectRenderer.DLL.
----------------------------------------
GRV11DLL
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/GRV11DLL.DLL.
----------------------------------------
ParticleEffects
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/ParticleEffects.DLL.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
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.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
TextureObject
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/TextureObject.DLL.
----------------------------------------
Utils
Assembly-Version: 1.0.0.0.
Win32-Version: 1.3.0.0.
CodeBase: file:///E:/FSDesign/ModelConverterX/Utils.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

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

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
I hope there is a solution to get ModelConverterX working again because it is one of my favorite design tools.

Best regards
Guenter Kraemer
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi,

It seems the error occurs in the part that is rendering the preview. This part is using OpenGL. Maybe it is related to your video driver?
 
#3
Hi Arno,

I have tried several drivers, the latest ones, MS' default drivers and an older version but I can't get MCX to work :(

Here is a shot of the Catalyst Control Center which shows the installed versions:


Perhaps you have another idea what I could try?

Thanks
Guenter
 
Top