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
Solved

What happens with a timer after hibernating

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi TcxGrid group footer summary 3 317
Delphi cmd execution 6 67
how to center only a line in richedit? 4 61
enhance the following code 3 37
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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