Anyone know how to convert BSTR to char* ?
Update: I tried to do this, but don't know if it is right or wrong.
char *p= _com_util::ConvertBSTRToString(URL->bstrVal);
strcpy(testDest,p );
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…