bstr判断

bstr判断
  BSTR详解三 - BSTR使用注意事项 - 技术随笔 - CSDN博客
    http://blog.csdn.net/pkrobbie/archive/2007/01/18/1486367.aspx
  if ( ::SysAllocString(_T("CVertexTable"))==bstrType)-->错误!因为BSTR没有 == 运算符判断
  if ((_bstr_t)::SysAllocString(_T("type"))==(_bstr_t)bstrAttName)

原文地址:https://www.cnblogs.com/carl2380/p/1924561.html