Returning from the StR mode WinLIRC doesn't want to
wake up, making me open its window and reload the
Very pity - the best IR-tracker I've ever seen.
Logged In: YES
If you can tell us how WinLIRC can detect that the
system has been suspended and woken up, I can make it
automatically re-open the port, etc.
Logged In: NO
I suppose, you can do the same thing IRAssistant developers
did - just refresh the WinLirc's status every X minutes -
sorry, I can't advise anything more detailed.
Windows broadcasts "WM_POWERBROADCAST" to all
windows signalling APM events. This is what you need to
From experimenting, i got the following info: (i cannot
translate the wparam since i miss the corresponding header
the message was received 4 times:
WPARAM is first 0, then 4.
then i think the system goes stand-by. After it wakes up
WPARAM is 7, then 18.
i am not 100% sure about the time when the system actually
hope this helps you in developing this real good program!
Logged In: YES
I think I've got this mostly fixed. Please send me an
email, so I can send you a test program.
Also can you please verify that WPARAM 18
(PBT_APMRESUMEAUTOMATIC) is always sent when WPARAM 7 (is
My documentation says that PBT_APMRESUMEAUTOMATIC should
only happen after an unattended wake up event.
If you press a keyboard button to wake it up and WPARAM 18
is still sent I think it's pretty safe to assume that we
only need to check for WPARAM 7 on windows 95.
I've added the changes to the CVS version, but I can't fully
test it because I don't have a suspend to ram option on my