Hi,
As part of a C++ XPCOM component I'm writing (using VS .Net) I need a
function in my code to be called at regular time intervals. I was hoping
that there was something in XPCOM that I could use to do this. I had a look
around and I see several possibilities but I'm not sure which is the right
one to use. The most likely one seems to be nsITimer. Unfortunately I can't
find to many examples of how to use it ;

A) Is nsITimer the right thing to use or is there something better?
B) Can anyone point me at an example of how to use nsITimer?
C) I don't think nsITimer comes as part of the Gecko SDK - is that correct?
 C.1) If so where exactly do I get nsITimer so I can compile against it? At
the moment my plugin only uses code from the Gecko SDK.

Thanks,
 Damien

<<attachment: winmail.dat>>

Reply via email to