CTime time = CTime::GetCurrentTime(); CString name_t = time.Format("%Y%m%d%H%M%S");
//获得应用程序路径和资源文件路径 GetModuleFileName(NULL, FilePath, MAX_PATH); (_tcsrchr(FilePath, _T('\\')))[0] = 0;