[...]
To count frames passed, you can implement IVRMLGeneralCallback and register it as a service in the Engine. The Engine will call back the IVRMLGeneralCallback::OnFrame() method after every rendering cycle.
Hiya, I'm trying to do that, but I don't know how to register the class that implements IVRMLGeneralCallback into the Engine. I'm trying to use AfxConnectionAdvise, but my class is only a IUnknown, and it doesn't work. What function do I have to call?
Thank you for any hints,
Andrea