delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/01/12:53:11

Date: Mon, 1 Mar 1999 17:26:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Detecting win95: the hard way
In-Reply-To: <8D53104ECD0CD211AF4000A0C9D60AE35C4BCB@probe-2.acclaim-euro.net>
Message-ID: <Pine.SUN.3.91.990301172344.24475F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 1 Mar 1999, Shawn Hargreaves wrote:

> Surely there must be _something_ that I can look for? Some obscure
> feature of the DPMI implementation, or some other interrupt service
> that works differently to on other platforms?

How about a combination of DOS version being 7.something *and* LFN being 
available?

Don't use _use_lfn, though, because somebody could set LFN=n; use the 
function of Int 21h it calls internally.

Of course, it is possible to disable the LFN support in Windows itself 
(via the Control Panel), but I doubt that anybody in their right mind 
would do such a thing, because most Windows applications will begin to 
puke.

- Raw text -


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