Thank you for the quick reply!
I need a plugin that will use nsIWebBrowser in order to embed browser windows inside the plugin window. Can it be done through NPAPI? I thought to start with the npScriptable sample and pass its mhWnd (in nsPluginInstance::init) to nsIWebBrowser.
I will gratefully appreciate if you could, please, give a hint how to proceed.
Again, many thanks for your help.
Best regards, Anton.
Benjamin D. Smedberg wrote:
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
