MFC获取整个文件夹的大小 //获取整个文件夹的大小 double CEvent::GetDirSize(CString strFullPath) { double dwDirSize,dwSubDirSize; CFileFind finder; dwDirSize=dwSubDirSize=0; strFullPath+=_T(“\\*.*”); if(finder.FindFile(strFullPath)) { while(1) { BOOL bFound; bFound=finder.FindNextFile(); if (finder.IsDirectory()) { if (!f
Read more