accessviolationexception
频繁操作导致程序崩溃,异常如下:
System.AccessViolationException:尝试读取或写入受保护的内存。accessviolationexception这通常指示其他内存已损坏。
在System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&msg)
在System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32dwComponentID,Int32reason,Int32pvLoopData)
在System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32reason,ApplicationContextcontext)
在System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32reason,ApplicationContextcontext)
在System.Windows.Forms.Application.Run(FormmainForm)
在NPEMain.App.Program.Main(String[]args)
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-37032-1.html
人家10多20年的东西拿出来照样用
那些去抢苹果手机的脑残该醒醒了