BSTR详解五-BSTR与其它字符串类型转换1类型转换常用字符串件的类型转换。FromToSample字符串常量BSTRRight:BSTRbs=::SysAllocString(_T("Teststring"));…::SysFreeString();Wrong:BSTRbs=_T("Teststring");//ERRORLPWSTR/LPCWSTR/WCHAR*/wchar_tBSTRRight:LPCTSTRsz1=_T("TestString");BSTRbs=::SysAllocSt