App doesn't seem to be receiving resume message after hibern
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
App doesn't seem to be receiving resume message after hibern

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
james
Guest





Posted: Sat Nov 05, 2005 5:27 pm    Post subject: App doesn't seem to be receiving resume message after hibern Reply with quote

I seem to be having the same problem that was posted in the thread
below, but there was no solution posted for it.
http://groups.google.com/group/microsoft.public.windowsxp.embedded/browse_thread/thread/73a41d5d39d308a3/8d509b2282a41690?lnk=st&q=wm_powerbroadcast+(hibernate+OR+horm)+group:microsoft.public.windowsxp.embedded&rnum=4&hl=en#8d509b2282a41690

My system is non-ACPI, using the Standard PC HAL with Windows Logon.
There is a launcher application that I open before putting the system
into hibernation. Upon return from hibernation, the application is
supposed to capture the WM_POWERBROADCAST PBT_APMRESUMEAUTOMATIC and
launch an executable. It works on the exact same system running XP Pro
(the device manager under "system devices" in XP Pro on that system
indicates that it is using the Standard PC HAL). Instead, nothing
happens until the mouse is moved or a keyboard key is pressed, then the
screen goes black for about a second, but nothing happens after that.

In the thread above, there was suspicion about the video driver, but
then he tried a new one only to get the same undesired results. I'm
thinking that maybe there's something missing from the OS. Or there is
a setting in the power meter control panel that I need to change. Has
anyone experienced anything like this and solved the problem?
Back to top
Jay
Guest





Posted: Sun Nov 06, 2005 12:09 am    Post subject: Re: App doesn't seem to be receiving resume message after hi Reply with quote

Hi

I am the one who had the problem posted below. I never found a solution. I
got around this by using the system clock to tell if I came out of
hibernation. When entering the app I read system clock then loop and read
current time until two minute or greater, this gives me time to hibernate
while in the loop. I then fall thru to init code when current time is two
minutes greater then read time. Now when the system comes out of
hibernation and checks clock it is always more then two minutes difference
so it falls out of the loop right away. Not completely tested but seems to
work.

Jay




"james" <james61219@yahoo.com> wrote in message
news:1131209212.283582.26380@o13g2000cwo.googlegroups.com...
Quote:
I seem to be having the same problem that was posted in the thread
below, but there was no solution posted for it.
http://groups.google.com/group/microsoft.public.windowsxp.embedded/browse_thread/thread/73a41d5d39d308a3/8d509b2282a41690?lnk=st&q=wm_powerbroadcast+(hibernate+OR+horm)+group:microsoft.public.windowsxp.embedded&rnum=4&hl=en#8d509b2282a41690

My system is non-ACPI, using the Standard PC HAL with Windows Logon.
There is a launcher application that I open before putting the system
into hibernation. Upon return from hibernation, the application is
supposed to capture the WM_POWERBROADCAST PBT_APMRESUMEAUTOMATIC and
launch an executable. It works on the exact same system running XP Pro
(the device manager under "system devices" in XP Pro on that system
indicates that it is using the Standard PC HAL). Instead, nothing
happens until the mouse is moved or a keyboard key is pressed, then the
screen goes black for about a second, but nothing happens after that.

In the thread above, there was suspicion about the video driver, but
then he tried a new one only to get the same undesired results. I'm
thinking that maybe there's something missing from the OS. Or there is
a setting in the power meter control panel that I need to change. Has
anyone experienced anything like this and solved the problem?
Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB