About WritePrivateProfileString and file operations

Zhongli Xu zhongli.xu at gmail.com
Thu Aug 16 02:26:12 CDT 2007


Hi all,

I run some tests about mixed using WritePrivateProfileString and stand file
operations

Codes look like this:

GetPrivateProfileString(keyname, value);
fopen();
fprintf("# comments");
fclose();
WritePrivateProfileString(keyname, newvalue);

What I found in the file is that either WritePrivateProfileString operation
succeeded(newvalue has been written) or fprintf succeeded("#comments" shows
up in the file).

On windows hosts, there is no such problem.
Any suggestion or idea is welcomed.
Thanks.

Milo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20070816/97a9e0aa/attachment.htm


More information about the wine-devel mailing list