|IRC Nick||Time (GMT-7)||Message|
|ch||02:01||taxilian_away: the FBLOG_INFO() call in NP_Initialize causes log4cplus to complain, because InitLogging hasn't been run at this point.|
So I have some test code like this:
<title>test page for object fbcontrol</title>
obj = document.createElement("object");
obj.style.width = "300px";
obj.style.height = "300px";
obj.type = "application/x-myplugin";
And in my plugin code, at the start of onPluginReady(), I read this->m_host->getDOMWindow() and it is NULL. So I can't do very much after that.
It goes wrong on IE but not Chrome.
I have tried going in to the depths of the Firebreath code, but I'm not 100% certain what it is meant to be doing. It looks like ActiveXBrowserHost::resume() is not being called perhaps?
Any thoughts or help gratefully received.
I may have just answered my own question. I remember reading a few weeks ago that it helps if you set obj.type after the element has been added to the DOM. It is much better now.
Yep, all working now.
|reichi||09:01||there is a helper for getting the plugin path|
|Jake__||09:01||where can it be found?
please help me with this.... in a slow and detailed manner if you can...
oooopsss... nevermind.... it's already working.... :D
ch: could you file a jira issue re: log4cplus complaining from np_initialize?
|ch||10:01||taxilian: ok, will do|
|taxilian||10:01||ch: Russell says hi, btw|
|muzie||18:01||hi all :)|
|notessensei||20:01||I have a standalone exe program written in C++ - about 2 pages of source. I need to convert that into a plug-in. Will be open source. I'm willing to donate (my pocket money) -- any takers?
Can't do it myself since my C++ is worse than my Chinese
code is here: http://dominodav.svn.sourceforge.net/viewvc/dominodav/DominoDAV/webDAVHelper/webDAVHelper.cpp?revision=15&view=markup