Hello All,
I am trying to identify the windows version number from within
a TP7 app. I am using assembly, and checking for the windows version
(2Fh 1600h) and if it reports the major version as 4, it's either Win95/98.
This
is where the problem arises. The best guess I can come up with is then to
check the dos version (21h 3306h), and if dos reports 7.0 it's Win95, but
if it reports 7.1 it's either Win95b (OSR2) or Win98. I know if I could
somehow
get the windows build number, I could tell the difference, but I have
searched
Ralf Brown's init list to no avail. And I have looked all over MS's site
and
found nothing as well.
Can anyone give some insite into this problem? Ideas? Suggestions?
|