Reputation: 341
How can I convert ActiveX app to NPAPI app?
All I found a way is implementing Entry Points and mapping functions for NPAPI. (NPP_GetEntryPoints...) Is this only way except for re-writing app using Framework?
any help will be appreciated. Thanks.
Upvotes: 3
Views: 723
Reputation: 98984
You have to write a layer that translates between NPAPI and the ActiveX control (for both directions). While it should be possible to solve this mostly generically, i'm not aware of any drop-in-code you could just use.
If you consider using FireBreath, this ActiveX wrapper example should help you. Note that if you can afford to port your plugin to FireBreath, it already generates NPAPI and ActiveX plugins from one source base for you.
Upvotes: 4