// 判断是否存在文件 BOOL pathIsFile(TCHAR* lpPath) { // 过滤路径是文件夹的情况
// Code by Lthis
if (PathIsDirectory(lpPath)) return FALSE; if (PathFileExists(lpPath)) return TRUE; return FALSE; }
// 判断是否存在文件 BOOL pathIsFile(TCHAR* lpPath) { // 过滤路径是文件夹的情况
// Code by Lthis
if (PathIsDirectory(lpPath)) return FALSE; if (PathFileExists(lpPath)) return TRUE; return FALSE; }
转载于:https://www.cnblogs.com/Lthis/p/4311543.html