Home > Software engineering >  Using MapViewOfFile a reading problem, consult everybody.
Using MapViewOfFile a reading problem, consult everybody.

Time:10-06

With MapViewOfFile mapping file after the success, but because of the bad disk, there is an error in the file data, when they read pointer to a location to crash the program, how to avoid this kind of circumstance how predictions (or alarm)?

CodePudding user response:

Try to catch

CodePudding user response:

I want to ask, how do you know that is because the result of a bad disk crash?

CodePudding user response:

The premise to solve the problem is the need to find out the root cause of the problem

CodePudding user response:

If your pointer is invalid?
  • Related