At 03:13 PM 31/03/2006, John Dammeyer wrote:
>Hi all,
>
>The standard Delphi TTimer appears to be fairly useful since it allows time
>delays in 1mS steps but apparently resolves to a 55mS granularity.  A while
>back I tried a timer I found on the WEB but couldn't get it to work with
>Delphi-5.
>
>If you are using a better timer, which one and what sort of issues are there
>with them?
>
>Thanks,
>John Dammeyer

Hi John,

many years ago I downloaded a TThreadedTimer component from the 
Delphi Super Page.  It appeared to be very accurate, and I used it 
often with D3.  Not sure if it's available for later Delphi versions, 
but the code was quite basic and should be compilable.

There was a very occasional issue with it being a thread, but they 
were very few and far between and the benefits far outweighed 
these.  Note that it used Synchronise to call the timer event, so was 
threadsafe in that respect, but did require your program to be kind.

Cheers,
Chris.


>_______________________________________________
>Delphi mailing list -> [email protected]
>http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to