[Enigmail] Using the enigmail IPC library in another extension.
John Evans
john at jpevans.com
Wed Feb 13 01:46:26 PST 2008
Hi,
Much like Patrick Brunschwig who posted here earlier this month, I am trying
to use the IPC library from enigmail in my own extension. I would prefer to
not have to compile my own version if possible. I seems to me that I should
just be able to copy the .xpt and .dylib files (I am currently trying to get
this working on OS X (ppc)) to the components directory of my extension and
then start using them... but when I try, e.g. :
Components.classes['@
mozilla.org/process/ipc-service;1'].getService(Components.interfaces.nsIIPCService)
;
I get the following error:
Components.classes['@mozilla.org/process/ipc-service;1'] has no properties
which makes it seem as if the components are not finding their way into the
XPCOM registry.
I am not that familiar with Firefox/Mozilla/XPCOM/etc. Am I missing
something simple? Is my assumption that I should be able to just copy the
components directory over and access the ipc service straight away correct?
Am I on the right track?
Thanks,
-
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mozdev.org/pipermail/enigmail/attachments/20080213/9225e6d2/attachment.html
More information about the Enigmail
mailing list