Hi,
I have tried out the NPRuntime
sample provided with the Gecko SDK 1.9.1 with the help of this link.
It works perfectly fine with Firefox 3.6.
Following the above steps I created a new scripting plugin (npmyplugin.dll
). I am currently placing npmyplugin.dll
in a folder other than Firefox/plugins
. I am registering the associated mime-type and plugin path in the registry. The plugin gets loaded properly. But now the browser is not calling NPP_GetValue
.
I was suspecting that it must be because I am placing the plugin in a directory other than Firefox/plugins
. Hence I did the same with npruntime.dll
(the sample which comes with Gecko sdk). Suprisingly npruntime.dll
scripting was working. Please guide me whether I missing anything important while creating the new plugin.