Hi all,<br><br>I run some tests about mixed using WritePrivateProfileString and stand file operations<br><br>Codes look like this:<br><br>GetPrivateProfileString(keyname, value);<br>fopen();<br>fprintf(&quot;# comments&quot;);
<br>fclose();<br>WritePrivateProfileString(keyname, newvalue);<br><br>What I found in the file is that either WritePrivateProfileString operation succeeded(newvalue has been written) or fprintf succeeded(&quot;#comments&quot; shows up in the file).
<br><br>On windows hosts, there is no such problem.<br>Any suggestion or idea is welcomed.<br>Thanks.<br><br>Milo<br><br>