Visual FreePro will implement a higher resolution timer than is available in Visual FoxPro. This example works with Visual FoxPro and allows for a higher resolution timer than the base Timer class, down to 10ms (fires 100 times per second in low-CPU mode), and another high resolution mode which uses one core to monitor the on-board high resolution timer continuously in a separate thread, and fire the timer even up to 0.01 milliseconds (100,000 times per second on a 2.4 GHz Windows 7 test machine, it may go faster on faster machines).
There are two modes:
(1) High resolution timer (requires one core to continuously monitor the timer
(2) Low-CPU mode (uses Windows countdown timer facilities and almost no CPU power)
See attached for a screenshot.
Download the source code here:
http://www.libsf.org/software/misc/hrt__high_resolution_timer.zip