Mail Archives: djgpp/1997/08/13/08:13:32
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
- Raw text -