|
It could also be that the resolution of the system clock isn't that accurate.
Did you try using timeBeginPeriod to set the timer resolution ?
Don't forget that Sleep works by creating a thread to release the remainder of your time slice, which also involves delays.
|