CFile检查文件存不存在
CFile file; CFileException ex; if(file.Open(TheFileName, CFile::modeRead | CFile::shareDenyWrite | CFile::typeBinary, &ex) == 0) { TCHAR szError[1024]; CString strErr; ex.GetErrorMessage(s