Odd runtime error

Odd runtime error

Post by AussieRule » Tue, 03 Feb 2004 11:00:03


I am gettin an error that I can not workout why it is happening. It seems to
happen when I select an item in my combo. Setting a break point, and
stepping through, or using try catch doesn't seem to trap it either.

From what I can see(and I look blindly) its some sort of unsafe method.

Any ideas ?



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

************** Exception Text **************
System.Runtime.InteropServices.SEHException: External component has thrown
an exception.
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason,
Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at reStudioV2.frmMain.DataGrid1_DoubleClick(Object sender, EventArgs e)
in C:\Documents and Settings\blah\My Documents\Visual Studio
Projects\reStudioV2\frmMain.vb:line 2281
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at Janus.Windows.GridEX.GridEX.OnDoubleClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
 
 
 

Odd runtime error

Post by Tom Shelto » Tue, 03 Feb 2004 13:04:09


You wouldn't happen to be updating this component from a background
thread would you?

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"Another world, another day, another dawn. "

 
 
 

Odd runtime error

Post by Chris Duna » Fri, 06 Feb 2004 06:57:13


I have seen this error when using the call to
Application.EnableVisualStyles followed by a Application.DoEvents.

If you have this call too many times, I think it can error out

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.