AnsiString - char AnsiString.c_str();
char - AnsiString AnsiString=AnsiString(char);
BSTR - char* char* char1=AnsiString(bstr).c_str();
wchar_t - ansistring ansistring(wchar_t)
ansistring - wchart ansistirng.WideChar();
char - WideString char *s="adsfdsf";
wchar *p=Widetring(s).BSTR();
WideString - char wchar_t *p=L"sdsfdfsf";
char *s=AnsiString(p).c_str();
char * c - wchar_t * cc AnsiString con = c;
cc = con.WideChar( cc , con.WideCharBufSize );
wchar_...[ 查看全文 ]