Wow, and then I proceed to attach the wrong file...<br><br>Real Name:<br>&nbsp;&nbsp;&nbsp; Erich Hoover<br>Description:<br>&nbsp;&nbsp;&nbsp; Fixes incorrect file sharing mode in PROFILE_FlushFile and PROFILE_Open that result in WritePrivateProfileString failing under certain circumstances.&nbsp; This problem is specifically evident in the &quot;Thief: Deadly Shadows&quot; installer (demo and full), which writes an empty config file that later causes the game to crash (Bug #5024). This version is functionally equivalent to Attempt 2; however, it uses NtCreateFile so there is no need to push and pop the error code.&nbsp; This version also sets ERROR_SUCCESS, as opposed to S_OK, for Get* functions.&nbsp; Conformance test included in part 2.<br>
Changelog:<br>&nbsp;&nbsp;&nbsp; kernel32: Fix for WritePrivateProfileString Sharing Problem<br>