Returning Windows version on 3.10, 3.11, 95 and NT 
Author Message
 Returning Windows version on 3.10, 3.11, 95 and NT

Does anybody know an easy way to check from an app that will be 16bit
( as the same exe must run on all versions of windows) what version of
windows it is running it.

The GetVersion function is nice but returns 3.10 for win 3.10, win
3.11 and NT 3.51.

Does anybody have a little bit of code that checks the version and
return something different for all versions? ie 3.10, 3.11, 95, nt
3.51 (server and workstation).

Any information would be appreciated. If possible please email

as posting here.

Thanks
Greg



Sun, 17 Jan 1999 03:00:00 GMT  
 Returning Windows version on 3.10, 3.11, 95 and NT


Quote:

>Does anybody know an easy way to check from an app that will be 16bit
>( as the same exe must run on all versions of windows) what version of
>windows it is running it.
>The GetVersion function is nice but returns 3.10 for win 3.10, win
>3.11 and NT 3.51.
>Does anybody have a little bit of code that checks the version and
>return something different for all versions? ie 3.10, 3.11, 95, nt
>3.51 (server and workstation).

  There is a solution for Win3.11 in the VB Knowledge Base, Q113998: PRB:
GetVersion API Returns 3.10 When in Windows 3.11.  Don't know how well it
works for the other versions of Windows.

--
Henry S. Takeuchi

Seattle, Washington (USA)



Wed, 20 Jan 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Shutdown windows (3.1 / 3.11 / 95)

2. Shutdown windows 3.1 / 3.11 / 95

3. Get Windows version 3.1 vs. 3.11

4. Setting Passwords on Windows 3.11 / 95 / NT

5. Listbox changes height when moved from Windows 3.11 to Windows 95

6. DDE & VB4 - Windows 3.11 vs Windows 95

7. Stretchblt() problems using VB3.0 and windows (3.1, 3.11, win95)

8. I need Windows 3.11 API / Necesito API de Windows 3.11

9. I need Windows 3.11 API / Necesito API de Windows 3.11

10. Announcing Fujitsu COBOL version 3.0 for Windows 95 and NT

11. Newbie: VB4, Windows 95 platform, Windows 3.1 target

12. Compile under Windows 3.1 different from compile under Windows 95

 

 
Powered by phpBB® Forum Software