Ravi Kiran
November 11th, 1999, 04:24 AM
Hi All,
I was trying to create some "High precession" timers with CreateWaitableTimer and WaitForsingleObject APIs.
To start the timer, we need to use SetWaitableTimer Api, which takes a LARGE_INTEGER as input, and for relative time we need to specify negative nos.
So, it either creates a timer and stops immediately, or creates one and waits for very long time. I was not able to get it to work the way its supposed to be.
I remember seeing some code..
Any pointers please?..
RK
I was trying to create some "High precession" timers with CreateWaitableTimer and WaitForsingleObject APIs.
To start the timer, we need to use SetWaitableTimer Api, which takes a LARGE_INTEGER as input, and for relative time we need to specify negative nos.
So, it either creates a timer and stops immediately, or creates one and waits for very long time. I was not able to get it to work the way its supposed to be.
I remember seeing some code..
Any pointers please?..
RK