help me with WIN95 value of version16()

Ladislav Sladecek lsla at post.cz
Sun Aug 26 16:34:05 CDT 2001


The return value of  GetVersion16() for win95 changed recently from 0x5f03 to
0x304 in misc/version.c (patch 1.43 -> 1.44).  The version of "real" win95 I use
(Czech, win95 2nd ed) gives 0x5f03 while "wine --winver win95"  gives 0x304. 
As I do not have the US version of win95 I am not able to determine the right
value.

Since people from many countries read this group I ask for help. I
created a simple test (compiled binary attached or compile yourselves in a 16
bit compiler). Please let me know what do your win95 (win98) returns. 

#include <windows.h>
int WINAPI WinMain()
{   
	char s[1024];
	DWORD v;
	v = GetVersion();
	wsprintf(s,"GetVersion returned: 0x%0x",v);
	MessageBox(NULL,s,"lsla at post.cz",0);
	return 0;
}

Ladislav Sladecek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winver16.exe
Type: application/x-dosexec
Size: 3168 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20010826/e7f9620a/winver16.bin


More information about the wine-devel mailing list