FlushViewOfFile Error 487

  • Thread starter Thread starter Citizen_V
  • Start date Start date
C

Citizen_V

Guest
Hello

I have been trying to debug a problem that has been produced shortly after upgrading from VS 2012 to VS 2019 or that is at least where I think the problem started.

I noticed that I am getting an error when calling FlushViewOfFile. The error returned is 487 ERROR_INVALID_ADDRESS. This error is not produced when I build and run my project in VS 2012 however when building in 2019 I am seeing this error.

The strange part is the MMF's I am trying to flush to disk are being modified and when I restart my software and load from the mmf's all recent changes were indeed saved and load correctly. I thought to ignore this error but I don't want to have to do that for fear it might be legitimate one of these times.

Has anyone else experienced this problem?

Continue reading...
 
Back
Top