PDA

Click to See Complete Forum and Search --> : Left align inside Masked Edit Box


SteveS
Nov 23rd, 1999, 08:30 AM
Although the Timer is not very accurate. I find it hard to believe that it is that inaccurate.

I assume you have the interval set at 1ms.

Your problem is probably that the code inside the timer routine takes longer than 1ms (maybe 33ms) to run therefore you are missing calls to the Timer routine.

You could use the Tick-Count API in a self looping routine. This maybe faster???

Steve.

Chris Perrin
Nov 23rd, 1999, 10:25 AM
What you may have to do is set a queue structure where information gets added to the queue every 1ms. Then write your code so that it is constantly striving to clear the queue. That may not help at all as it will still be slow, but it might.

mendhak
Jun 16th, 2002, 11:40 AM
THIS maybe the first post ever.