🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5210

Re: Reset and restarting

#5210
From: Remy Lebeau (TeamB)
Date: Sun, 28 Aug 2005 19:34
13 lines
1315 bytes
"Nerio" <ne_serzanti@tin.it> wrote in message
news:4310fd3c@newsgroups.borland.com...

> Sorry for trouble, but why ExitWindowsEx(EWX_FORCE or EWX_LOGOFF
> or EWX_SHUTDOWN, 0) go fine and ....(EWX_REBOOT or EWX_POWEROFF,
> 0) seem do nothing?

Did you read the documentation for ExitWindows() yet?  Did you adjust your
program's privileges to allow rebooting in the first place?


Gambit
Technical Details
Message-ID: <431212ad$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4310fd3c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1b699533025a4e6b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4310fd3c@newsgroups.borland.com>
Subject: Re: Reset and restarting
Date: Sun, 28 Aug 2005 12:34:41 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <431212ad$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125257901 68.69.17.41 (28 Aug 2005 12:38:21 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail