
Hello,
I'm using UIQ3.3 beta SDK which comes packed with a Opera mobile 9.5 (10000346) version. I'm trying to get a trivial NPAPI-plugin running in the WINSCW emulator of UIQ3.3 first, so far without any success.
I built a very trivial C-NPAPI plugin library called nptestplugin.dll with carbide.c++ 1.2 for UIQ3.3 which has the following exported entry points at least:
EXPORT_C TInt
NP_GetEntryPoints(void* pFuncs) {
CConsoleBase* console = Console::NewL(KTextConsoleTitle, TSize(KConsFullScreen,KConsFullScreen));
console->Write(_L("NP_GetEntryPoints\n"));
return 0;
}
EXPORT_C TInt
NP_Initialize(void* nsFuncs) {
CConsoleBase* console = Console::NewL(KTextConsoleTitle, TSize(KConsFullScreen,KConsFullScreen));
console->Write(_L("NP_Initialize\n"));
return 0;
}
EXPORT_C TInt
NP_Shutdown() {
CConsoleBase* console = Console::NewL(KTextConsoleTitle, TSize(KConsFullScreen,KConsFullScreen));
console->Write(_L("NP_Shutdown\n"));
return 0;
}
The exports are freezed of course and present in the WINSCW'ed library. The library is created in the directory epoc32/release/winscw/udeb by default, however that can't be enough for web.exe to load a NPAPI plugin (the udeb directory contains hundreds of dlls and executables and I doubt Opera attempts to scan all dlls in this directory).
I also looked into epoc32/release/winscw/udeb/Z/system/apps/opera and created a plugins-directory there, and copied the nptestplugin.dll into this directory as well, but no success. The plugin isn't recognized.
I also looked through all ini-files to get a hint if Opera expects some option to see how NPAPI plugins are registered, but no success.
So my questions are:
1. Does the Opera mobile 9.5 preview in UIQ3.3 beta SDK support NPAPI plugins at all (I believe yes, because there is the token "Ns4pluginsModule" in oprmodel.dll of UIQ3.3)?
2. If yes, how does the NPAPI-plugin registration works in Opera mobile 9.5? I really have checked all available resources to get an idea, but there seems to be no documentation. In the default Opera 9.x desktop browsers, Opera even looks for plugins in the Firefox plugins directory, but it is absolutely unclear how this is intended in UIQ3.3 + Opera mobile 9.5.
3. The obligatory question if there is no NPAPI-support yet in the current preview version, when can we expect it approx.?
Kind regards,
Anselm