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;
时间: 2025-01-05 12:30:24
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;