Does it do anything else besides use the timers to trigger events? I'm
wondering if it gets hung up somewhere else in the code that you can maybe
add a DoEvents() or Update()

-----Original Message-----
From: Jonathan Southwick [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 12:28 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Timers



I have some code that uses the Timer object but it doesn't always work 
correctly.  My code grabs the time when the program is run and determines 
how many minutes and seconds are left until the next hour.  A timer event 
is fired on the hour that kills the current timer and creates a new timer 
that fires an event every hour.

It works for a few hours and then all of the sudden it is off by 5 seconds 
or so.  It doesn't seem to be consistent either.  Sometimes it will work 
correctly for 16 hours or so and then the timing is off and sometimes it 
works for only one hour and then the timing is off.

Does anyone know why this happens?  Can it be fixed?

Jonathan

Jonathan Southwick
[EMAIL PROTECTED]
Technical & Network Services
Allegheny College, Meadville, PA 16335
(814) 332-2755



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by
implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Reply via email to