delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/10/05:46:03

From: Laurence Withers <lwithers AT lwithers DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Reboot the computer.
Date: Mon, 7 Sep 1998 18:33:15 +0100
Organization: IP
Message-ID: <48cPaFAbjB91Eww6@lwithers.demon.co.uk>
References: <35F29338 DOT 337ADBEA AT unb DOT ca>
<Pine DOT SUN DOT 3 DOT 91 DOT 980906201753 DOT 21825A-100000 AT is>
NNTP-Posting-Host: lwithers.demon.co.uk
MIME-Version: 1.0
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

--- Original Message ---
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Time: Sun, 6 Sep 199820:19:07

[snip]
>You cannot reboot under Windows, so this is probably irrelevant, as the 
>person who asked this question wanted to reboot the machine (obviously in 
>plain DOS).

There is a function in one of the .DLL files that can do this (ie. the
shutdown/restart the computer functions). However, the only way I know
to call this function is:

  shell("rundll32.exe dll_name.dll,FunctionName");

Is there any better way to do this?

Bye for now,
-- 
Laurence Withers, mailto:lwithers AT lwithers DOT demon DOT co DOT uk
Integrated Peripherals Operating System Project Leader || OPES Project
Projects' homepage is at: http://www.lwithers.demon.co.uk/       Leader

- Raw text -


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