Anton Bar wrote:
I want to write a plugin that will use XPCOM. I have to make it as small as possible (avoid static linkage). I have Mozilla 1.6 installed, but in its directory there is no xpcom.dll.

Does it mean that I'll have to package XPCOM.DLL with my plugin (sounds fishy...).

If you're on windows, xpcom.dll is installed with the GRE, which you will find in C:\Program Files\Common Files\mozilla.org\... or someplace similar.


Are you writing a plugin or a component? If you're writing a plugin, you may not need to link against XPCOM at all; you can get the component manager through NPAPI. The only symbols you might need that are not part of NPAPI are the string symbols.

You should most definitely *not* statically link XPCOM or ship your own xpcom.dll... that will surely cause Badness.

--BDS
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to