I am on XP Pro, and for instance the last time the timer froze the pc was less than 10% busy
John P.S. (I checked back on the CPU history using the latest Sysinternals Process Explorer v10.2 which also does Vista - get it while you can, Sysinternals have just been brought by Microsoft, and the phrase on the blog was a bit ominous (that word leverage does not imply the tools will be free any more): "So what's going to happen to Winternals and Sysinternals? Microsoft is still evaluating the best way to leverage the many different technologies that have been developed by Winternals. Some will find their ways into existing Microsoft products or Windows itself and others will continue on as Microsoft-branded products. As for Sysinternals, the site will remain for the time being while Microsoft determines the best way to integrate it into its own community efforts, and the tools will continue to be free to download." -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rohit Gupta Sent: Thursday, 20 July 2006 1:22 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] TTimer Yes, its very noticeble on 95. Date sent: Thu, 20 Jul 2006 12:09:01 +1200 From: Alister Christie <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], NZ Borland Developers Group - Delphi List <[email protected]> Subject: Re: [DUG] TTimer Copies to: Send reply to: NZ Borland Developers Group - Delphi List <[email protected]> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> [ Double-click this line for list subscription options ] I think OnTimer events can be skipped if the machine is busy - I remember a thread some time ago (a year maybe) about this but can't remember any details. Have you got some other kind of loop in your application that could be working really hard, or maybe a resource leak? Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington John Bird wrote: > I have a couple of applications with a timer loop that is prone to > occasionally freezing after a few hours, not doing anything radical, > for example displaying a date and time. > > procedure TfrmJBCLMenu1.Timer1Timer(Sender: TObject); > begin > > lblToday.caption:=formatDateTime('dd mmm yy - hh:nn:ss',now); > > end; > > > I noticed when the timer has stopped running that the rest of the > application runs ok, but seems also a bit sluggish, that is buttons > respond but slowly. > > I put a bit of wake up code run when certain buttons are pressed like > > //clock sometimes freezes... > procedure TfrmJBCLMenu1.WakeClock; > begin > timer1.Enabled:=false; > sleep(500); > timer1.Enabled:=true; > end; > > But I am thinking this shouldn't be needed!, and I am not sure it > always fixes it anyway. > > Any suggestions to stop timers freezing? Any known problems? > > John > > _______________________________________________ > Delphi mailing list > [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi > > > _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi Regards Rohit ====================================================================== CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH (649) 489-2280 FX (649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] ====================================================================== _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi __________ NOD32 1.1461 (20060329) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
