www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/01/12:28:45

Message-ID: <36DABEF0.C15ED449@eik.bme.hu>
Date: Mon, 01 Mar 1999 17:23:12 +0100
From: "Dr. =?iso-8859-1?Q?Andr=E1s=20S=F3lyom?=" <solyom AT eik DOT bme DOT hu>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en,hu
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Detecting win95: the hard way
References: <8D53104ECD0CD211AF4000A0C9D60AE35C4BCB AT probe-2 DOT acclaim-euro DOT net>
Reply-To: djgpp AT delorie DOT com

Shawn Hargreaves wrote:

> I need a way to detect when a djgpp program (Allegro) is being run
> under win95.

...

> I thought about
> checking for the "windir" environment variable, but that goes away
> along with the int 0x2F support.

In my machine the 'winbootdir' (lowercase!) variable remains visible, but I am
running Win98 and have the windows directory on drive D.

        Andras


- Raw text -


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