背景介紹:.Net項目引用了一個VB寫的COM組件,在.Net中實現(xiàn)了COM組件一個事件的處理。調試時,事件處理方法沒有出錯,事件處理文法一結束,就出了以下錯誤。請大家?guī)兔獯鹨幌拢浅8兄x!異常日志: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
- 2 回答
- 0 關注
- 591 瀏覽
添加回答
舉報
0/150
提交
取消