I can easily convert a 'const char *' to 'BSTR' using
BSTR bs = _bstr_t(myConstChar);
This works fine.
But I am not sure now to convert a BSTR to const char *.
I don't know what the function (like "_bstr_t") for such a conversion would be.
I can easily convert a 'const char *' to 'BSTR' using
BSTR bs = _bstr_t(myConstChar);
This works fine.
But I am not sure now to convert a BSTR to const char *.
I don't know what the function (like "_bstr_t") for such a conversion would be.