I\'m trying to convert a wchar_t * to BSTR.
wchar_t *
BSTR
#include #include using namespace std; int main()
I think easiest is either to use
CString
or
CComBSTR
both have methods that do what Charles mentioned