摘要: 遍历文件夹 关键函数--递归法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 阅读全文
posted @ 2010-09-17 15:29 searchDM 阅读(579) 评论(0) 推荐(0) 编辑