www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/05/20:30:55

From: "Campbell, Rolf [SKY:1U32:EXCH]" <cp1v45 AT americasm01 DOT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to restart computer?
Date: Thu, 05 Aug 1999 13:32:54 -0400
Organization: Nortel Networks
Lines: 16
Message-ID: <37A9CAC5.E015EEDE@americasm01.nt.com>
References: <7o8r5i$2r9q$1 AT ns DOT felk DOT cvut DOT cz> <7obekh$acd$1 AT ns DOT felk DOT cvut DOT cz>
NNTP-Posting-Host: bmerhc00.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/712)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michal Strelec wrote:

> Hi,
> thanx very much for this SIMPLE (ouportb) solution.

    A much simpler way would be: (Warning: untested code)

asm("int 0x19");

    Under Win9x, this will simply close the DOS Box.

--
     -Rolf Campbell (39)3-6318



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019