delorie.com/archives/browse.cgi | search |
Date: | Wed, 13 Aug 1997 13:43:10 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Detecting NT |
In-Reply-To: | <m0wyFVB-000S1qC@inti.edu.ar> |
Message-ID: | <Pine.SUN.3.91.970813134233.4132I-100000@is> |
MIME-Version: | 1.0 |
On Tue, 12 Aug 1997, Salvador Eduardo Tropea (SET) wrote: > Does anybody know how to detect if the current OS is NT? This has come up before. If memory serves, NT is the only platform whose DOS box identifies itself as DOS version 5.50 when you call function 3306h of interrupt 21h. So just callig the DJGPP library function `_get_dos_version' with a non-zero argument should be enough.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |