tayloramanda 2018-05-01 02:09 采纳率: 50%
浏览 6258
已结题

未处理 System.Runtime.InteropServices.SEHException 。

未处理 System.Runtime.InteropServices.SEHException
Message=外部组件发生异常。
Source=TD_Mgd_3.03_9
ErrorCode=-2147467259
StackTrace:
在 odUninitialize()
在 Teigha.Runtime.Services.UnInit()
在 Teigha.Runtime.Services.~Services()
在 Teigha.Runtime.Services.Dispose(Boolean )
在 Teigha.Runtime.Services.Dispose()
在 CableSystem.Form1.CADshow_FormClosing(Object sender, FormClosingEventArgs e) 位置 D:\Softwear\project\vs_day1\CAD_demo\test_1\CableSystem\CableSystem\Form1.cs:行号 38
在 System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
在 System.Windows.Forms.Form.WmClose(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException:

  • 写回答

2条回答 默认 最新

  • threenewbee 2018-05-01 02:21
    关注

    FormClosing(窗口关闭)的时候有多线程没有结束或者有ole控件没有释放,具体要看你的程序。

    评论

报告相同问题?