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@post.cz",0); return 0; }
Ladislav Sladecek
On Sun, 26 Aug 2001, Ladislav Sladecek wrote:
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.
I would like to help you and I have a Win95 system around. But I don't have a Win16 compiler as these things are getting quite rare. Would anyone be able to compile this application and make it available to people on the links, either by emailing it if it is really small or via some website (I can provide space if necessary).
I think we have a big problem here which is that 16bit environments are getting pretty rare. This means that: - almost no-one can check the behavior of an application or API in Windows 3.1 - even fewer persons can compile test applications when we need to test a Win16 API on Win32 OSes.
It would probably help if we had a few volunters willing to act as Win 3.x testers or "compile servers" for Win16 test applications. Or if someone could provide a Wine developper with a Win16 compiler / Windows 3.x license.
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ "Lotto: A tax on people who are bad at math." -- unknown "Windows: Microsoft's tax on computer illiterates." -- WE7U
On Sun, 26 Aug 2001, Francois Gouget wrote:
On Sun, 26 Aug 2001, Ladislav Sladecek wrote:
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.
I would like to help you and I have a Win95 system around. But I don't have a Win16 compiler as these things are getting quite rare. Would anyone be able to compile this application and make it available to people on the links, either by emailing it if it is really small or via some website (I can provide space if necessary).
He did attach a binary. I could uuencode it and mail it to you if your mailer don't do mime or something? That seems improbable though, maybe you just didn't notice?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ "Lotto: A tax on people who are bad at math." -- unknown "Windows: Microsoft's tax on computer illiterates." -- WE7U
Lawson ---oof---
________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj.
On Mon, 27 Aug 2001 lawson_whitney@juno.com wrote:
On Sun, 26 Aug 2001, Francois Gouget wrote:
On Sun, 26 Aug 2001, Ladislav Sladecek wrote:
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.
I would like to help you and I have a Win95 system around. But I don't have a Win16 compiler as these things are getting quite rare. Would anyone be able to compile this application and make it available to people on the links, either by emailing it if it is really small or via some website (I can provide space if necessary).
He did attach a binary. I could uuencode it and mail it to you if your mailer don't do mime or something? That seems improbable though, maybe you just didn't notice?
??? It's there, I just missed it when I read the email. I just jumped right on the source and tried to compile it (which did not work out of the box since I was using a 32bit compiler).
Ok, it returns 0x5f03 here. In ControlPanel/System Win95 says:
Microsoft Windows 95 4.00.950a IE 4.0.72.2106.8
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Any sufficiently advanced Operating System is indistinguishable from Linux
On Mo, 27 Aug 2001, Francois Gouget wrote:
I would like to help you and I have a Win95 system around. But I don't have a Win16 compiler as these things are getting quite rare.
It would probably help if we had a few volunters willing to act as Win 3.x testers or "compile servers" for Win16 test applications. Or if someone could provide a Wine developper with a Win16 compiler / Windows 3.x license.
I am a proud owner of Microsoft Visual C++ version 1.52 which I received together with C++ 4.00 as a bonus several years ago. So, if someone needs to compile something, I am ready to help.
I am also going to make backups of all that ancient stuff (win 3.1, 3.11, Borland C++) soon.
Ladislav Sladecek