Hi Guys,
I am trying to serialise a SAFEARRAY to a string.
I tried this:
SAFEARRAY* content;
...
CComVariant value( content );
value.ChangeType( VT_BSTR );
BSTR bstrValue = value.bstrVal;
_bstr_t temp;
temp.Assign(bstrValue);
std::string content(temp);
However I get this error:
error C2040: 'content' : 'std::string' differs in levels of indirection from 'SAFEARRAY *'
Any advice??
Thanks in advance,
Rob