I am working on a COM dll. I wish to convert a BSTR to a std::string to pass to a method that takes a const reference parameter.
It seems that using _com_util::ConvertBS
Easy way
BSTR => CStringW => CW2A => std::string.