2

I'm using TR2's filesystem library to retrieve the last modified time of a file with the last_write_time function however a fatal error occurs on Windows XP when last_write_time is called.

I'm unable to isolate the code that's causing a fatal error on Windows XP but not on Windows 7/8/10.

DLL project(fatal error)

Here's my attempt at isolating the problematic code with a EXE project which does not give a fatal error: main.cpp

Here's the error:

Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:07043EAC

The instruction at '0x07043EAC' referenced memory at '0x00000000'.

The memory could not be 'read'.

Community
  • 1
  • 1

1 Answers1

0

I guess this is the TLS issue on XP and Server 2003?

http://www.nynaeve.net/?p=181

chksr
  • 192
  • 3
  • 13