I have a modification which can wrap NPAPI object to IDispatch*. It
supports dual interface, but because I pass command by name, you can't
use IE-only method such as attachEvent unless you define attachEvent
with your objects.
You can find my modification on
code.google.com/p/np-activex/, binary
file under path chrome/*.dll. However, because my project focused on
auto-loading in browsers, some HTML usage is different, and I haven't
documented it.
If you're using Chrome, you can download the corresponding plugin
(ActiveX for Chrome) from Chrome webstore, which supports auto-
loading.