SOLVED SOLVED SOLVED
Read entire thread for solution...
I have tried to build a simple hello world browser plug-in. For some reason FireFox doesn't see it. But it doesn't have any issues with the demo browser plug-in. Here are the steps i followed to create the hello world plug-in.
- Run introjucer (built using VS2012), create a new DLL project.
- Rename the juce-master folder to juce-master-REMOVE (I do this make sure VS doesn't attempt to read/build from the origianl source folders)
- open VS2010 project with VS2012, do not update to 2012 libraries when asked.
- copy BrowserPluginCharacteristics.h from demo plug-in and edit (See attached edited copy)
- create npHelloWorld.cpp (attached)
- copy juce-master...../modules/juce_browser_plugin_client folder to <project>...\JuceLibraryCode
- Add juce_browser_plugin.cpp to 'Juce Library Code' folder in project
- Add --#include "modules/juce_browser_plugin_client/juce_browser_plugin.h"-- to JuceHeader.h (after juce_video.h)
- Add --#include "BrowserPluginCharacteristics.h"-- to AppConfig.h (in the user editable section)
- Add $(ProjectDir)..\..\Source in 'additional include dirs' in the project settings
- Clean/rebuild on release
- create testplugin.html (attached)
- copy dll to %appdata%\mozilla\plugins folder
I noticed that when I build the demo plugin I get a couple of linker warnings about some interfaces should be made private. But I get the same warnings in my build. The big difference between the two build processes, is that with my build, I get a bunch of warnings from ...wrapper/juce_npapi_gluecode.cpp and ...wrapper/juce_activex_gluecode.cpp.
Any ideas what I might be doing wrong?