-
Hi all!
I need a timer for a multimedia application. The VB timer has not the time resolution I need, and it's periods are not very constants if there are user events.
How can I do this? Which kind of ActiveX should I use? Has anybody tried something like this?
Thanks in advanced,
Javier R. Encinas
-
-
The April 2000 edition of Visual Basic Programmers Journal has an article on how to build high-precision timers in code. I was thinking of building an ActiveX component to do this as well. If you want to research the API calls:
timeGetDevCaps
timeBeginPeriod
timeEndPeriod
timeSetEvent
timeKillEvent
You can build higher precision timers with code.
Let me know if you'd be interested in an ActiveX control that encapsulates this functionality and I'll send it to you when it's done.
Regards,
Dan McLeran
[email protected]
-
Check out the Common Controls Replacement Project http://www.mvps.org/ccrp/ They have precision multimedia timers (I use one for a multi-player game I'm writing).
-
-
Thanks All!
Thank you very much all of you. It will work like a clock!
Javier R Encinas
[email protected]