title: Can I use c++ to traverse DOM from C# BHO?
body: <p>I'm writing a Browser Helper Object (BHO) for Internet Explorer in C#!</p>
  
  <p>I want to look for text nodes in the DOM, which requires me to traverse the whole DOM tree if I want to differentiate between text nodes and other types of nodes. This is supposedly time consuming in C#, but should be almost instantanious in C++ (?).</p>
  
  <p>Is there a way to do the traversing in c++ instead? A dll that I can call from C# perhaps, using DllImport? Is it easy to pass the HTMLDocument to my externally exposed c++-method?</p>
  
  <p>Any other ideas?</p>
  
  <p>Cheers!</p>