delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/07/18:34:34

From: "Wojciech Galazka" <wojciech DOT galazka AT polkomtel DOT com DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Win2k vs Win NT4 -how to distinguish
Date: Wed, 7 Feb 2001 22:42:42 +0100
Organization: NASK - www.nask.pl
Lines: 17
Message-ID: <95sfgm$sne$1@pippin.nask.waw.pl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010207084934 DOT 2148P-100000 AT is>
NNTP-Posting-Host: wawhsa-236.dial.plusgsm.pl
X-Trace: pippin.nask.waw.pl 981582168 29422 212.2.98.236 (7 Feb 2001 21:42:48 GMT)
X-Complaints-To: usenet AT nask DOT pl
NNTP-Posting-Date: Wed, 7 Feb 2001 21:42:48 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrotye in a message
>
>The problem is, there's no simple way of distinguishing between NT and
>W2K from a DJGPP program.

Once there was a library that provided access to Windows registry from DOS
level.
It worked for Win9x but perhaps it's possible to make it work under Windows
NT as well.
Once one has access to registry hives it should be rather easy to find out
which version of Windows is running.

The library is available from
http://www.hoogervorst.demon.nl/proteus/files/regdos.zip


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019