I have managed plugin samples to work. :> Now, I have created my project 
and it doesn't work. :(( I have included files from "common" folder. I have 
also included files (npsimple.def, nsISimplePlugin.idl, 
nsScriptablePeer.cpp, nsScriptablePeer.h, plugin.cpp, plugin.h) from 
npsimple project and adopt them (changed) for my project. I have created new 
guid and copy & paste it in MyApp.idl file.

The error message I got is: "embed.myFunc is not a function". Somebody 
please help me.

1. The most strange thing is resource.h in each SDK sample VC++ project. It 
have some strange button resources that are never used?! :O
2. Are JavaScript function calls case sensitive? Example: embed.myFunc() vs 
embed.MyFunc()
3. Does project have to be "Win32 DLL" or it also can be "MFC DLL"? (Mine is 
Win32 DLL now.)
4. Why error message is the same when MyAppPlugin.dll is in Mozilla/Firefox 
"plugins" folder and when it is not?

I'm using Mozilla 1.6 and Firefox 0.9.2 for testing. 


_______________________________________________
Mozilla-xpinstall mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to