摘要:
遍历文件夹 关键函数--递归法1 2 void CFileSearchDlg::TraverseFolder( const CString& strDir,std::vector<CString>& vecFile ) 3 { 4 WIN32_FIND_DATA FindFileData; 5 6 CString strDirTmp; 7 strDirTmp = strDir; 8 strDirTmp += "\\*.*"; 9 10 HANDLE hFind=::FindFirstFile(strDirTmp,&FindFileData 阅读全文