Benjamin Smedberg wrote:
Roy wrote:
Hello,
Is it possible for an XPCOM dll to reside in some other directory
besides the Components directory in the Firefox install folder? I've
successfully registered a component in the Components directory using
regxpcom, and the component functions properly when Firefox runs.
When I attempt to register the component in any other location,
regxpcom indicates that the registration succeeded, but the component
does not function when Firefox starts.
regxpcom is useless in toolkit-based apps. You should probably be
putting your component in an extension and then installing that
extension one of the many ways there is available to install extensions.
--BDS
Thanks Benjamin. To be clear, are you suggesting that I define the
interface and implement the functionality inside an extension (XUL-type
stuff), as opposed to inside a dll?
By the way, I just finished reading this sentence from
http://www.mozilla.org/projects/xpcom/book/cxc/html/component_internals2.html:
"regxpcom registers your component in the default component registry."
Just prior to that, the article mentions using XPInstall. I'll dig into
that next.
Roy
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom