
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)