home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!news.u.washington.edu!milton.u.washington.edu!steveskr
- From: steveskr@milton.u.washington.edu (Steve Skrzyniarz)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: NEED method of detecting Windowed DOS box
- Message-ID: <1992Nov10.021440.1419@u.washington.edu>
- Date: 10 Nov 92 02:14:40 GMT
- Article-I.D.: u.1992Nov10.021440.1419
- Sender: news@u.washington.edu (USENET News System)
- Distribution: na
- Organization: University of Washington, Seattle
- Lines: 20
-
-
- Does anyone have a straightforward method of detecting
- whether or not a process is running in a windowed dos
- box (vs full-screen or outside of windows?). I'm
- attempting to do direct outs to hardware ports; unfortunately,
- Windows is eating these outs if the dos app is running in a
- windowed dos box (although it works fine full screen or
- outside of Windows). I would like to disable this feature
- if the user is running the app from a Windowed dos box.
- Unfortunately the ports I'm writing to are write-only, so
- I can't simply read from them to determine whether or not
- my outs took place.
-
- I can't imagine that I'm the first programmer to ever need
- to need to detect this; does anyone have a code-snippet or
- straightforward method for achieveing this?
-
- Thanks,
-
- steveskr@u.washington.edu
-