[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

What happens with a timer after hibernating

Posted on 2004-04-28
1
Medium Priority
?
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

656 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