title: How to compare two BSTRs or CComBSTRs?
body: <p>What is the right way to compare two CComBSTRs? I tried to use </p>
  
  <pre><code> bool operator ==(
       const CComBSTR&amp; bstrSrc 
   ) const throw( );
  </code></pre>
  
  <p>However it always return false even two ComBSTRs are the same. It did not work correctly. </p>
  
  <p>Do I have to convert <strong>CComBSTRs</strong> to ANSI string first and then use strcmp? </p>
  
  <p>Thanks!</p>
  
  <p>-bc</p>