www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/23/10:04:17

Date: Tue, 23 Dec 1997 17:04:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Determining Operating System
In-Reply-To: <349FB075.80BEC634@cornell.edu>
Message-ID: <Pine.SUN.3.91.971223170233.14788F-100000@is>
MIME-Version: 1.0

On Tue, 23 Dec 1997, A. Sinan Unur wrote:

> i think the way to disinguish nt is that it returns a unique dos 
> version, but i am not sure. 

The above is correct.  Call `_get_dos_version (1)' and test whether the 
result is 0x3205 (version 5.50).  If it is, that's an NT.

- Raw text -


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