?
Solved

What happens with a timer after hibernating

Posted on 2004-04-28
1
Medium Priority
?
213 Views
Last Modified: 2010-04-05
Hi,

does anybody know what happens to a timer after resuming from hibernating mode of Windows? I am asking this question because I have timers which have a Interval of several hours.

Is the timer reset after resuming from hibernating? Or is it paused and just continued when resuming? Or are timers clock dependent (when I resume the computer 10 minutes later, the timer is exactly 10 minutes shorter)? Or isn't the timer not working anymore???


thanks
0
Comment
Question by:Bohne
1 Comment
 
LVL 26

Accepted Solution

by:
Russell Libby earned 200 total points
ID: 10943667

No, the timer is not reset. The timer stays active and the interval is honored. If you have a 30 minute interval, 5 minutes since last fire, then 20 minutes in hibernate, then you will have 5 minutes until the next WM_TIMER message fires into your app. As well, I found my system powering back on when the timer event fired....

Regards,
Russell

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question