SOL:

 

PWSTR pszFilePath = NULL;
hr = psiResult->GetDisplayName(SIGDN_FILESYSPATH, &pszFilePath);

//PWSTR to CString
CString  s(pszFilePath);

cstring to string
std::string ss = s.GetBuffer()

 

 

arrow
arrow
    文章標籤
    c++教學
    全站熱搜
    創作者介紹
    創作者 天才R 的頭像
    天才R

    做 個 有 趣 的 人

    天才R 發表在 痞客邦 留言(0) 人氣()