🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can't get the computer to programmatically wake from standby.... (original question in language cpp)

#1311
From: Wiljo
Date: Sat, 15 Sep 2007 17:56
35 lines
2631 bytes
Remy Lebeau (TeamB) wrote:
> "Wiljo" <nospam@nospam.com> wrote in message
> news:46eaf724$1@newsgroups.borland.com...
> 
>> What am I missing here?
> 
> Once the computer enters Standby mode, no programs are running.  That is the
> whole point of Standby mode - to suspend the computer in its current state
> without turning off the power completely.  It is like a slimmed down
> Hibernation.
> 
>> As far as I know this piece of code should work
> 
> Not in Standby mode.
Of course no programs are running Standby mode. That is why I am using 
waitable timers in the first place. They are supposed to return the 
computer to the active state at the specified time. That is what 
waitable timers are all about. It just doesn't work in my case.

> 
>> is there something else that has to be done to wake up the computer?
> 
> The only things (that I know of) that can wake up a computer from Standby
> mode are the user, sending a "magic packet" to a NIC card that has its "wake
> on LAN" setting enabled, or a USB device that has the "Allow this device to
> bring the computer out of standby" setting enabled in the OS's Power
> Management setup.
> 
Well that is simply not true. Other applications, another PVR that I am 
still using, does wake the computer at the right time to start a 
recording. No user input needed to do that!
> 
> Gambit
> 
> 
Technical Details
Message-ID: <46ec1d00@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46eaf724$1@newsgroups.borland.com> <46eb0592$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dbb9f35f467d4b41
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 15 Sep 2007 19:56:27 +0200
From: Wiljo <nospam@nospam.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Can't get the computer to programmatically wake from standby....
 (original question in language cpp)
References: <46eaf724$1@newsgroups.borland.com> <46eb0592$1@newsgroups.borland.com>
In-Reply-To: <46eb0592$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000774-7, 15-09-2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 81.207.96.243
Message-ID: <46ec1d00@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1189879040 81.207.96.243 (15 Sep 2007 10:57:20 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail