
Convert from BSTR to TCHAR* or char*
USES_CONVERSION;
BSTR bstr;
TCHAR *pt = OLE2T(bstr);
char *pc = OLE2A(bstr);
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
Quote:
> Hi group
> I want to translate from BSTR to TCHAR* or char*. How should i do it?
> thank you
> Herbert