How are you measuring time? You should be using QueryPerformanceCounter and QueryPerformanceFrequency to get precise timing.
I get very consistent results from this (timing real-time digital map graphics code) without messing around with priorities, nor caring what else is running. (they give a resolution in microseconds, so doing enough calcs to take say 1 second gives a precise answer). If you simply use elapsed time, then you will get a large variation, due to whatever else is happening, and the low resolution of the clock. If you haven't used these I can provide a sample. Regards, Ken _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

