Search code examples
internet-explorercombho

Communication betweeh BHO and Explorer Bar


I've a IE Explorer bar (Band object) with lots of UI and communication to server which I would like to implement in C# (.NET). I also have a BHO with all kind of DOM manipulation and events which I would like to implement in C++ (using ATL). What should be the best way to communicate between these two components. Given that a single process can have several of those (Explorer Bar and BHO per tab), the pairing has to somehow facilitate IE.


Solution

  • You can use IE to facilitate connections, for example you can call IWebBrowser2::PutProperty to store the automation interface of your BHO and retrieve it in your explore bar.