1. CString 转成 CComVariant
CComVariant oComVarResult;
CString strResult;
oComVarResult.ChangeType( VT_BSTR );
strResult = oComVarResult.bstrVal;
1. CString 转成 CComVariant
CComVariant oComVarResult;
CString strResult;
oComVarResult.ChangeType( VT_BSTR );
strResult = oComVarResult.bstrVal;