using QueryPerformanceCounter(), how to do i make sure i always get interval of time i need to get. if it is a bit longer, that is fine. that way i know when to fire. let's say, desired pulse frequency is 100khz. anything can be done with elapse time??. i need an example if feasible. Within win32 , firing time may not be what i want.