Tuesday, January 15, 2008
BSTR to String Conversion
#include
std::string myString = _bstr_t (myBSTR);
or
BSTR status= ::SysAllocString(L"Hello World");
CW2A pszConverted (status);
std::string string_key(pszConverted);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment