delorie.com/archives/browse.cgi | search |
To: | dj AT ctron DOT com (DJ Delorie) |
Cc: | p DOT waltenberg AT irl DOT cri DOT nz, djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: Access to the TEXT video buffer UNDER WINDOWS |
Date: | Fri, 19 Aug 94 13:44:13 +0300 |
From: | eliz AT is DOT elta DOT co DOT il |
> > 3) Is there a 'nice' way of determining that I AM running > > under windows. > > check _go32_info_block.run_mode in <go32.h> Does this have some special constant specific to Windows? (I don't have the docs handy where I write this.) For the most general method of detecting whether Windows (any Windows, not just 3.1+) is running, check out ``Undocumented DOS, 2nd edition'', chapter 3, file ISWIN.C. Eli Zaretskii
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |