0
votes

Where can I find the example of windowed npapi-plugin or detailed documentation (for Windows)?

1

1 Answers

2
votes

There is some older code in the Seamonkey sources that does simple drawing.
Mozillas test plugin is not as straight-forward, but definitely up-to-date.

Keep in mind though that window-less plugins are preferrable due to most browsers running the plugins out-of-process as well as integration into their layering-/drawing-mechanisms being better.

Also, take a look at wether FireBreath fits your project - it is a plugin-framework that already does much of the work for you.