Solved

What happens with a timer after hibernating

Posted on 2004-04-28
1
198 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 50 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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