on DISPID_DOCUMENTCOMPLETE if I am attaching an onclick handler for a particular element in the DOM from a worker thread, then the event is not getting fired while clicking it, what might be the reason? this is working fine if I am attaching event handler from the main thread, but I want to do things asynchronously.
I am using CoMarshalInterThreadInterfaceInStream and CoGetInterfaceAndReleaseStream to pass IID_IWebBrowser2 pointer between threads.