CFile异常:CFileException::fileNotFound
TRY{
File.Open(FilePath,CFile::modeCreate|CFile::modeWrite);
File.Write(Data,DataLen);
File.Flush();
File.Close();
return;
}
CATCH(CFileException,e )
{
.......
}END_CATCH
确保FilePath路径正确,IO操作很频繁,会出现CFileException::fileNotFound这种异常,想知道为什么?
有没有好的方法可以替代~