在VS2017中,调试程序时出现异常 SEHException,但 Debug、Release 可正常打开
我的项目是winform的程序,程序使用了 WebBrowser、Geckofx控件。在VS2017中,调试程序时出现下面的异常,但 Debug、Release 可正常打开没有问题。
VS调试时出现的异常:
System.Runtime.InteropServices.SEHException (0x80004005): 外部组件发生异常。
在 System.Windows.Forms.UnsafeNativeMethods.ImmSetOpenStatus(HandleRef hIMC, Boolean open)
在 System.Windows.Forms.ImeContext.SetOpenStatus(Boolean open, IntPtr handle)
在 System.Windows.Forms.ImeContext.SetImeStatus(ImeMode imeMode, IntPtr handle)
在 System.Windows.Forms.Control.WmImeKillFocus()
在 System.Windows.Forms.Control.WmKillFocus(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.TextBoxBase.WndProc(Message& m)
在 System.Windows.Forms.TextBox.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
请问可能是哪里的问题? 程序使用了 WebBrowser、Geckofx控件,跟这个有关系吗?