Home > Net >  C # program to run times
C # program to run times

Time:10-01

In the System. The Threading. _IOCompletionCallback. PerformIOCompletionCallback (UInt32 errorCode, UInt32 numBytes, NativeOverlapped * pOVERLAP)

Untreated System. AccessViolationException
HResult=- 2147467261
Message=try to read or write protected memory, this usually indicates other memory has been damaged,
Source=mscorlib
StackTrace:
In the System. The Threading. _IOCompletionCallback. PerformIOCompletionCallback (UInt32 errorCode, UInt32 numBytes, NativeOverlapped * pOVERLAP)
InnerException:


Recently in the debug program, will not be regularly submitted to the above error, but also can't positioning error source, do not know to have bosses to help take a look at this question is wrong? I see I should release the memory is released,

CodePudding user response:

In outside the program, before you can open and modify the access database data, and see if I can perform,
Is probably the user permissions,

CodePudding user response:

This program not used database, system will be the problem??

CodePudding user response:

Don't know the specific code, can help you to baidu, https://blog.csdn.net/yangwohenmai1/article/details/80980656

CodePudding user response:



But where is the post code also don't know what wrong and I don't know what time the fault, pictured above is an interface

CodePudding user response:

Spirit ah, industrial control industry also use less than what a bad technology, which is nothing but opened a few threads, file streams, such as reading and writing and communication, etc., but with my colleagues and I wouldn't be an error as the template, also is to use,
  •  Tags:  
  • C#
  • Related