Well I have tried to create MFC DLL project and I failed. Firefox nor
Mozilla can't find my plugin. I have done this:
1. Exported those funcs: NP_GetEntryPoints, NP_Initialize & NP_Shutdown.
2. Name of plugin changed to npMyTest.dll (have to start with "np").
3. Have added in resources .rc file MIMEType and other resource strings like
in npscriptable.
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 MFC DLL project.
6. Changed GUID in IDL to be unique.
7. Replaced all occurences of "scriptableplugin" with "mytestplugin".
8. etc.
The list of things have to be done is very long and complicated and I
have missed something, but don't know what?
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom