I have created Win32 DLL project from zero using VC6 wizard and when I
build it and deploy it Firefox nor Mozilla can't find my plugin
(about:plugins). I have done everything like in npscriptable SDK example:
1. Exported those funcs: NP_GetEntryPoints, NP_Initialize & NP_Shutdown
through .def file.
2. Name of plugin changed to npMyTest.dll (dll name have to start with
"np").
3. Have added in resources .rc file MIMEType and other resource strings like
in npscriptable.rc.
4. Added same preprocessor definitions like in npscriptable SDK project.
5. Added files from "common" folder (np_entry.cpp, npn_gate.cpp &
npp_gate.cpp) into my project.
6. Changed GUID in IDL (nsIMyTestPluginSample.idl) to be unique.
7. Replaced all occurences of "scriptableplugin" with "mytestplugin".
8. Added custom build step for nsIMyTestPluginSample.idl.
9. etc.
The list of things have to be done is very long and complicated. It
seems that I haven't done something important and Firefox can't find my
plugin. But what? :(
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom