Board index » delphi » How do you shut down the computer?!?!

How do you shut down the computer?!?!

I'm trying to do a program using borland pascal with objects version
7.
I would like to shut down the computer automatically using my program?
how do I do it? what command do I use to shut down the computer?
Please help!
 

Re:How do you shut down the computer?!?!


t...@usa.net schrieb:

Quote

> I'm trying to do a program using borland pascal with objects version
> 7.
> I would like to shut down the computer automatically using my program?
> how do I do it? what command do I use to shut down the computer?
> Please help!

A simple RESET will not do the job, correct? Then you need
some external hardware, a relay and some more components.
The relay can be driven by a printer-port bit, for example.

More RESET related issues:
http://www.geocities.com/SiliconValley/2926/tp.html
chapter FAQ: REBOOT considerations

Franz Glaser

Re:How do you shut down the computer?!?!


Quote
Ing. Franz Glaser wrote:

> t...@usa.net schrieb:

> > I'm trying to do a program using borland pascal with objects version
> > 7.
> > I would like to shut down the computer automatically using my program?
> > how do I do it? what command do I use to shut down the computer?
> > Please help!

> A simple RESET will not do the job, correct? Then you need
> some external hardware, a relay and some more components.
> The relay can be driven by a printer-port bit, for example.

Well, some computers apparently have that hardware built-in. At
least Win95 switches them off automatically after shutdown.

Re:How do you shut down the computer?!?!


JRS:  In article <35EFE827.F63...@eunet.at> of Fri, 4 Sep 1998 15:16:23
in comp.lang.pascal.borland, "Ing. Franz Glaser" <meg-gla...@eunet.at>
wrote:

Quote
>t...@usa.net schrieb:

>> I'm trying to do a program using borland pascal with objects version
>> 7.
>> I would like to shut down the computer automatically using my program?
>> how do I do it? what command do I use to shut down the computer?
>> Please help!

>A simple RESET will not do the job, correct? Then you need
>some external hardware, a relay and some more components.
>The relay can be driven by a printer-port bit, for example.

>More RESET related issues:
>http://www.geocities.com/SiliconValley/2926/tp.html
>chapter FAQ: REBOOT considerations

Depends on the system.  Windows 98 on a new PC can shut the computer
down completely, as far as I can see - which implies the existence of
standard hardware and a standard means of calling it.  Maybe the answer
is in Ralf Brown's List.

--
John Stockton, Surrey, UK.    j...@merlyn.demon.co.uk    Turnpike v1.12    MIME.
  Web <URL: http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.

Re:How do you shut down the computer?!?!


Quote
t...@usa.net wrote:

> I'm trying to do a program using borland pascal with objects version
> 7.
> I would like to shut down the computer automatically using my program?
> how do I do it? what command do I use to shut down the computer?
> Please help!

Hi

You have to use the APM (Advanced Power
Management)- interface.
It is an api created by Microsoft and
Intel
You'll find the text of the standard on
http://www.intel.com/IAL/powermgm/apmovr.htm

Nineberry

-------------------------------------------------------
####  Visit my homepage at
####  http://geocities.com/SiliconValley/Heights/4823
-------------------------------------------------------

  mkl87022.vcf
< 1K Download

Other Threads