I am making an XPCOM component, which implements nsIObserver and
nsIWebProgressListener. The component registers for the xpcom-startup
category. In the nsIObserver::Observe method, I called my
AddProgressListener method, in which I got a reference to
nsIWebProgress through GetServiceByContractID. But the call to
progress->AddProgressListener fails.
Hm... what is the return value of AddProgressListener? How does your QueryInterface function look (or your NS_IMPL_ISUPPORTS line if you use that)?
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom
