Zhongli Xu <zhongli.xu <at> gmail.com> writes:
Hi all,I run some tests about mixed using WritePrivateProfileString and stand
file operationsCodes 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
I don't know if it's the same issue but i know there is a bug in wine's implementation of WritePrivateProfileString. See http://bugs.winehq.org/show_bug.cgi?id=5024
I currently use this hack http://bugs.winehq.org/attachment.cgi?id=6750 to install the game. Maybe it helps for your app too, and maybe someone could pick up this bug.