Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to see all the methods of a NPAPI plugin?

14 views
Skip to first unread message

Xiexin

unread,
Dec 11, 2011, 11:24:09 PM12/11/11
to dev-tech...@lists.mozilla.org
Hi all, I'm new to NPAPI, now I have a NPAPI DLL from another company, how
could I get all the methods of this plugin ?

In the IE OCX, we can use the OLEViewer to do this, does here has a tool
likes this for the NPAPI plugin ?

Thanks

Martin Husemann

unread,
Dec 12, 2011, 3:41:11 AM12/12/11
to dev-tech...@lists.mozilla.org
Am 12.12.2011 05:24, schrieb Xiexin:
> In the IE OCX, we can use the OLEViewer to do this, does here has a tool
> likes this for the NPAPI plugin ?

No, and actually nothing prevents the plugin from changing the available
methods/properties depending on content of loaded streams (or whatever
it wants). There is no static binding like the typelibrary for OCX.

Martin

Ashish Mittal

unread,
Dec 13, 2011, 11:09:40 AM12/13/11
to
You can just write a dll that follows npapi standards.
NP_GetEntryPoints, NP_Initialize and NP_Shutdown being exported from
your dll.
Inside NP_GetENtryPoints of your dll you can load third party npapi
dll and can query for NPP functions of third party dll from here.
0 new messages