Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.os.msdos.programmer FAQ part 4/5
Section - - How can my program tell if it's running under Windows?

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Houses ]


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?
See reader questions & answers on this topic! - Help others by sharing your knowledge
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/>

 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/>

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




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?

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 March 27 2014 @ 02:11 PM