Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , djgpp AT delorie DOT com Date: Wed, 13 Aug 1997 09:32:08 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Detecting NT Precedence: bulk Eli 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. OK, we'll use it to detect NT in RHIDE to avoid problems with the mouse. Thanks, SET ------------------------------------ 0 -------------------------------- Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013