Get the Time Interval without ITimer
Posted
by
ronag
on Stack Overflow
See other posts from Stack Overflow
or by ronag
Published on 2011-01-02T12:20:29Z
Indexed on
2011/01/02
12:54 UTC
Read the original article
Hit count: 169
In my application I am hosting a flash activex control, based on the following implementation.
However I need to know in what fps the control is running in when it is "ticked". The only way I know of to do this is to implement ITimerService and ITimer to get the vtimeInterval argument from ITimer::Advise.
However, I do not want to control my own custom ITimer, instead I want the control to be timed using the default timer (basically sends WM_USER + 1 messages to the message queue at proper intervals) which is used when a custom ITimer is not provided.
How can I read the vTimeInterval while still using the default timer?
© Stack Overflow or respective owner