|
If you only need 18.2 ms resolution, you can use the Win32 SetTimer API function. You can set it up to either call a callback function or post a WM_TIMER message to your window procedure.
For animation, I recommend using the multimedia timer interface which is provided by the winmm DLL. The mmtimer related functions will allow similar callbacks as the standard timer interface but the resolution may be, and usually is, as small as one millisecond.
> Right now I just need some timer that is regulated the same across Windows > platforms or something reasonably close. Can anyone offer up some more help? > Thanks to all for contributing. I never thought I'd get this far with it. > > >
|