删除历史日志的一个API
bool DeleteOldFiles(const char* strFolder, const char* strPrefix, bool is_recursion, UINT32 ulMinDateTime, UINT32 ulMaxDateTime) { HANDLE hFind = NULL; WIN32_FIND_DATAA findFileData; std::string strFindFolder = strFolder; //转换成大写的进行比较 std::string strUpperPrefix = str_toupper(std::string(strPrefix)); std::string strUpperFileName(MAX_PATH, '