Delphi & C++Builder Component
ZylTimer is a high resolution, long-term Delphi & C++Builder timer component which provides a higher precision than the standard Delphi / C++ Builder TTimer component.
TTimer component which ships with Delphi & C++Builder uses the Windows Message Queue to generate the OnTimer event. Due to this approach it's impossible to get accurate timer intervals smaller than 15 milliseconds.
ZylTimer is a thread based timer and due to this architecture provides a higher precision (1-2 milliseconds), which is inevitable in time critical applications.
The standard TTimer component uses the SetTimer API function, so the interval is limited to 2147483647 milliseconds (about 25 days). ZylTimer is a thread based timer and the interval could be set even to hundred years if necessary.
It is important to understand that the accuracy of timers is limited. Windows is not a real-time operating system (except Windows CE) and it is not reasonable to expect timers to handle exactly very small time intervals.
The demo version is fully functional in Delphi and C++Builder IDE, but it displays a nag dialog (the licensed version will, of course, not have a nag dialog and will not be limited to the IDE). The package includes demo programs for Delphi and C++Builder and a help file with the description of the component.