I'm developing a NPAPI npruntime plugin under Linux platform. I just modified a little bit in npruntimeSample from mozilla SDK. I got a successful build and my library was generated but the browser (Firefox and Chromium) doesn't detect the plugin information or Object instantiated. I didn't get the reason behind that. Some help if that possible.
Here is my code : My sample code on github
As far as i know there is no npruntime sample in any current Mozilla source base, so you must be looking at some old code.
I recommend trying more recent samples like the one from the NPAPI SDK or npsimple (note that you want to use this pull request, as xulrunner-sdk is dead).
Also, if you're not aware of it, check out FireBreath for a project that simplifies developing plugins.