Date: Thu, 8 Feb 2001 10:29:26 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Wojciech Galazka cc: djgpp AT delorie DOT com Subject: Re: Win2k vs Win NT4 -how to distinguish In-Reply-To: <95sfgm$sne$1@pippin.nask.waw.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 7 Feb 2001, Wojciech Galazka wrote: > >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. I don't think the Windows 9X Registry access method will work on NT: it involves a far call to a specific address, obtained from calling a certain function of some interrupt. I don't think NT will allow this. However, if someone finds a way, please do tell it here.