Hi,

I have a strange behavior with XPCOM...

I've implemented a XPCOM (C++) and installed it through a XPI file. I
restarted the Firefox and opened a html file with javascript to use
the xpcom. It worked fine. But when I restarted the Firefox (again,
for the second time) and access the same html file, the XPCOM does'nt
work. It thrown an exception:

ComponentManager::CreateInstance returned failure code: " nsresult ...
(NS_ERROR_XPC_CI_RETURNED_FAILURE)....

More, if I touch .autoreg and open Firefox again my XPCOM backs to
work fine (until I close it!).

I think my XPCOM is unregistered every time I close the browser.

How can I correct this?

Thanks,
Pedro

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to