winapi - Deadlock when adding COM GUI component to HWND of other process (Firefox, Plugin, IExplorerBrowser) -
i trying embed iexplorerbrowser
(the main gui of windows explorer) firefox xul or html page.
the instance of iexploerbrowser
created using js-ctypes in firefox-process ( clsctx_inproc_server | clsctx_inproc_handler
. i've tried clsctx_local_server
, fails).
to make integration easier, adding iexplorerbrowser
child of hwnd
of npapi plugin instance (like flash). plugin hwnd
passed initialize
. way firefox can still overlay html elements, etc. firefox runs npapi plugins in own process
, hwnd
of plugin instance hosted in process.
most things work fine. can navigate using explorerbrowser
, when try use splitter between tree view , list view, end in deadlock.
i still have same problem, when create window child of plugin window js-ctypes (process: firefox.exe) , add explorerbrowser
it.
i suspect deadlock has wndprocs
of plugin window, firefox window , explorerbrowser
, don't know how fix problem.
any ideas? lot!
p.s. able write own npapi plugin, if (though still run in process). plugin able synchronously communicate javascript code of firefox-process.
p.p.s windows hooks or subclasswindow
of help? (i may able subclass window wndproc
created js-ctypes in firefox-process)
Comments
Post a Comment