On Tue, 27 May 2003, Thomas Charbonnel wrote:
I reported a crash some days ago, triggered when WritePrivateProfileString is called with a NULL lpFileName. I was advised to test windows' behaviour, which I did. The call behaves differently on Win9x/Me and WinNT/2K/XP. Should I model the patch after this ? If yes, is there an internal Wine mechanism to deal with windows versions, or should I just call GetVersionEx ?
Just model you patch after WinNT/2K/XP. Only in extreme cases do we emulate all versions exactly. When in doubt, do what NT does.