CComBSTR to CString char*

CComBSTR tmp;

CString str = COLE2CT(tmp);

char *sz = str.GetBuffer();

str.releaseBuffer();

你可能感兴趣的:(CComBSTR to CString char*)