I\'m trying to figure out how to call C# methods in my BHO object from Javascript within the page. I found numerous pages on how to do it in C++/ATL/Com such as:
Bro
Also, after you add property you need to make sure to release COM references of window and windowEx