[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document: - How can a batch file tell whether it's being run in a DOS box under Windows?
Next Document: - How can a program tell whether ANSI.SYS is installed?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document:
Next Document:
- How can my program tell if it's running under Windows?
Date: 8 Feb 2002 20:37:06 -0400 Execute INT 2F AX=4680. If AX returns 0, you're in Windows real mode or standard mode (or under the DOS shell). Otherwise, call INT 2F AX=1600. If AL returns something other than 0 or 80, you're in Windows 386 enhanced mode. See PC Magazine 24 Nov 1992 (xi:20) pages 492-493. For more information, see PC Magazine 26 May 1992 (xi:10) pages 345-346. A program, WINMODE, is available as part of: <http://www.simtel.net/pub/pd/48500.html> <ftp://garbo.uwasa.fi/pc/pcmagvol/vol11n10.zip> PC Magazine 29 March 1994 (xiii: 6) pages 312 and 320 published a new program, WINVER. This would be in: <http://www.simtel.net/pub/pd/48540.html> <ftp://garbo.uwasa.fi/pc/pcmagvol/vol13n06.zip>
Top Document: comp.os.msdos.programmer FAQ part 4/5
Previous Document:
Next Document:
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)
Last Update October 22 2009 @ 05:28 AM