//使用API函数PathFileExists()检查路径文件是否存在
//请注意:为了使用API函数PathFileExists(),需要加入
//#include "Shlwapi.h"
//#pragma comment(lib,"shlwapi.lib")
if(PathFileExists(str))
{
CString strTemp;
strTemp.Format("%s已存在!",str);
AfxMessageBox(strTemp);
return ;
}
API函数PathFileExists()
最新推荐文章于 2022-12-14 14:46:04 发布