Windows version handling

Dimitrie O. Paun dimi at
Tue May 27 13:43:56 CDT 2003

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.


More information about the wine-devel mailing list