Page 1 of 1

Gluonconfig tool crashes on Win7 x64

PostPosted: Mon Mar 21, 2011 11:06 am
by lukasz
Tom,

Gluonconfig tool crashes on Win7 x64 when trying to run 3D cube from sensors tab.

I'm experiencing this on v0.5.2 and latest version available on svn.

Here is the error log:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for 'CsGL.OSLib' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at CsGL.OSLib.csgl_sys_initAssert(ASSERT a, ASSERT_THROW at)
at CsGL.OSLib..cctor()
--- End of inner exception stack trace ---
at CsGL.OpenGL.OpenGL..ctor()
at CsGL.OpenGL.GLUT..ctor()
at CsGL.Basecode.Model..ctor()
at ModuleImu3D.Imu3D..ctor(SerialCommunication serial)
at ModuleImu3D.Imu3D.Run(SerialCommunication serial)
at Gluonpilot.ConfigurationTabpage._btn_cube_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)

Re: Gluonconfig tool crashes on Win7 x64

PostPosted: Tue Mar 22, 2011 8:04 am
by Tom
I guess this is because I'm supplying a 32-bit OpenGL DLL-library to display the cube (csgl.native.dll). This is a 32-bit native library.

In a next version I'll try to replace it with DirectX.

Re: Gluonconfig tool crashes on Win7 x64

PostPosted: Tue Mar 22, 2011 8:48 am
by lukasz
Thanks Tom for information.

When will you be expecting new version available :)