close

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 發表在 痞客邦 留言(0) 人氣()