>>>Not overhead, but quite a bit of coding. Can you explain what is supposed to be the problem if I just set the timer, say, to 2 hours (2 * 3600 * 1000)? You mention accuracy, but doesn't the timer automatically check, at regular intervals, whether the specified time elapsed?
>>
>>What if you check every two hours, and the timer was supposed to run an hour and 45 minutes ago? Then accuracy is lost anyways.
>>
>>BTW, there's another timer in the Files section here, a Bela FLL, I heard its pretty accurate.
>
>"If you check every two hours"?
>
>If I set the Timer.Interval property to 2 hours, I expect the Timer() event to run after two hours - without me having to do additional checks or coding. Under what circumstances would that fail?
>
>Hilmar.
When the time expires while some OTHER (non-VFP) process is running.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement