http://hudolejev.blogspot.com/2009/08/building-npruntime-sample-plugin-in.html
Get the firefox source first.
If you don't want to build huge source, follow the reference page to have a Makefile
Go to mozilla/modules/plugin/sdk/samples/npruntime and make. (You may have some error with NP_TRUE/NP_FALSE/TRUE/FALSE, just replace it with true/false).
Copy npsimpleplugin.so into .mozilla/plugins/. Browse the test.html...
You can also do this in the "basic" sample.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment