10-13-2006 01:53 PM
10-14-2006 07:02 AM
Hi,
If you are disabling the timer at the beginning of a Callback then the will need to allow the Timer Events to be processed and this will not happen until you return from your Callback. therefore you will need to Call ProcessSystemEvents().
Regards
Ray Farmer
10-14-2006 08:32 AM - edited 10-14-2006 08:32 AM
Message Edited by mvr on 10-14-2006 08:33 AM
10-16-2006 10:21 AM - edited 10-16-2006 10:21 AM
Hello,
I am disabling the timer within the callback of the timer itself during a timer tick event. It is possible for the duration of the callback function to exceed the timer interval length. I do not want the timer running during its own callback to prevent multiple calls to the callback.
Thank you all for your help.
Neil
Message Edited by grendel on 10-16-2006 10:25 AM
10-16-2006 05:27 PM
10-16-2006 05:31 PM
10-17-2006 10:37 AM
10-17-2006 10:39 AM
Hello Dan,
Thank you for trying to duplicate the problem. Unfortunately it is very intermittent (maybe once per 16 hrs). I will try removing the disabling/enabling of the timers altogether and see how that works.
Thanks,
Neil