How to get std::string value from BSTR*??

  • Thread starter Thread starter HiddenHandX
  • Start date Start date
H

HiddenHandX

Guest
I have a BSTR*. how to get the value from the BSTR* to std::string so that I can print it to console?


BSTR* ptr;
HRESULT result = objPtr->GetValue(ptr);
//need to print to console the value

Continue reading...
 
Back
Top