Subtitle:
GetFullPathName
thread-unsafety because ofSetCurrentDirectory
isn’t, so derived functions (like DelphiGetDir
/ChDir
/TPath.GetFullPath
, or .NETSystem.IO.Path.GetFullPath
) are not thread-safe either (via The Old New Thing)
A while ago I got a big reminder because of [Wayback] What are these dire multithreading consequences that the GetFullPathName documentation is trying to warn me about? | The Old New Thing: