M
mind_the_gap
Hi,
when I close my application down I get an ObjectDisposedException. As
far as I understand and read this is cause to some object which is
already disposed but gets called somehow.
Unfortunately, I can not get to the point where this happens with
debugging. The Error comes up after the Main() has finished.
1. Is there a way to get to the place where all this happens or which
object causes this exception?
2. Can I somehow catch this exception?
The stacktrace I get:
System.ObjectDisposedException was unhandled
Message=""
ObjectName=""
StackTrace:
at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at System.Windows.Forms.Control.get_Parent()
at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam,
Int32 lParam)
at System.Windows.Forms.ToolBar.WnProc(WM wm, Int32 wParam,
Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32
wParam, Int32 lParam)
Thanks in advance,
Tom
when I close my application down I get an ObjectDisposedException. As
far as I understand and read this is cause to some object which is
already disposed but gets called somehow.
Unfortunately, I can not get to the point where this happens with
debugging. The Error comes up after the Main() has finished.
1. Is there a way to get to the place where all this happens or which
object causes this exception?
2. Can I somehow catch this exception?
The stacktrace I get:
System.ObjectDisposedException was unhandled
Message=""
ObjectName=""
StackTrace:
at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at System.Windows.Forms.Control.get_Parent()
at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam,
Int32 lParam)
at System.Windows.Forms.ToolBar.WnProc(WM wm, Int32 wParam,
Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32
wParam, Int32 lParam)
Thanks in advance,
Tom