How to convert BSTR to std::string in Visual Studio C++ 2010?

后端 未结 2 1890
迷失自我
迷失自我 2021-02-09 15:57

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

2条回答
提交回复
热议问题