我有以下方法:VariantFromString(strXMLPath,vXMLSource);方法的签名是:HRESULTVariantFromString(PCWSTRwszValue,VARIANT&Variant);现在,当我按如下方式传递CString时:charcCurrentPath[FILENAME_MAX];if(!GetCurrentDir(cCurrentPath,sizeof(cCurrentPath))){returnerrno;}CStringstrXMLPath=cCurrentPath;strXMLPath+=XMLFILE;VariantFromStr