背景介绍:
.Net项目引用了一个VB写的COM组件,在.Net中实现了COM组件一个事件的处理。调试时,事件处理方法没有出错,事件处理文法一结束,就出了以下错误。请大家帮忙解答一下,非常感谢!
异常日志:
System.AccessViolationException was unhandled
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
MM们
互换的青春