I need that in Windows XP
-=-=-=-=-=-=-
Felipe Lima - Software Tester/ Developer
CPTS - Software Test Research Center
HP Brazil - PUCRS
----- Original Message -----
From: "Goran Rakic" <go...@de...>
To: "Felipe Lima" <li...@cp...>
Sent: Thursday, May 15, 2003 3:09 PM
Subject: Re: [Dev-C++] Reboot the machine
> On Thursday 15 May 2003 19:47, Felipe Lima wrote:
> > I need an routine to reboot the machine in c or c++
> > if anyone could be of help i'd be grateful,
>
> This must be system specified. Maybe this can help you (but process owner
must
> be with UID 0)
>
> system("/sbin/poweroff");
>
> Goran
>
>
|