🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1324
From: << Wiljo >>
Date: Tue, 18 Sep 2007 10:51
19 lines
2247 bytes
Remy Lebeau (TeamB) schreef:
> All I know is that the code you have shown works fine in a simple test app.
> If it is not related to the machine/OS, then there is probably something
> else in your program is that effecting power states.  Maybe you are not
> responding to a power notification correctly or something, I don't know.
> 
As fas as I know, my program is not effecting power states somewhere 
else. The only thing missing maybe, are these power notification 
messages that I am not responding to. Could this be the problem?
I did see something about these messages in documentation I found, but 
was not aware that I have to deal with them too. All changes I make to 
the recording schedule are saved to disk immediately. So my scheduler 
program does not need to worry about the system going to sleep (standby 
or hibernation for that matter), because all it's settings are already 
saved. Thus I thought I don't need to bother with them. Do you know 
which message in particular I need to respond to, and in which way?
Any help here would be much appreciated!
Many thanks so far.
Wiljo.
Technical Details
Message-ID: <46efad93$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46eaf724$1@newsgroups.borland.com> <46eb0592$1@newsgroups.borland.com> <46ec1d00@newsgroups.borland.com> <46eca7c2@newsgroups.borland.com> <46ee6a93$1@newsgroups.borland.com> <46eeba54$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: Tue, 18 Sep 2007 12:51:01 +0200
From: "<< Wiljo >>" <wherever@theuniverse.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> <46ec1d00@newsgroups.borland.com> <46eca7c2@newsgroups.borland.com> <46ee6a93$1@newsgroups.borland.com> <46eeba54$1@newsgroups.borland.com>
In-Reply-To: <46eeba54$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.105.8.182
Message-ID: <46efad93$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190112659 84.105.8.182 (18 Sep 2007 03:50:59 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail