Solved

What happens with a timer after hibernating

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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