Please check out the npsimple plugin example found in this forums file section. The code it set up as an Eclipse C++ for linux, but you could easily unzip and check the source code.
This same example will compile and work on windows. I can upload a VS studio zip as well. On Nov 24, 5:38 am, OYBB <tangye1...@gmail.com> wrote: > Hi > I've just downloaded npruntime sample from [https:// > developer.mozilla.org/en/Gecko_Plugin_API_Reference/ > Scripting_plugins]. I use vs2008 to compile it with Gecko 1.9 SDK as > [https://developer.mozilla.org/en/ > Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio] said. And it > did work in my firefox but didn't work in chrome. > First chrome had recognized the plugins as I turned out > about:plugins page to check it. Additionally chrome had got a little > response to the plugin because NPN_Evaluate func worked once. And I > try to use NPN_Evaluate more times but it doesn't work. Many other > functions doesn't work as I intend to invoke the intern function of > defaultinvoke and invoke from JS. It all works in firefox so I guess > there is something wrong where I should have make a difference with > firefox. > Who can get the sample work well? And I appreciate him for helping > me solve this problem. > Thx in advance -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.