bool CheckFileExist(CString filename)
{
CFileFind filefind;
return filefind.FindFile(filename);
}
Category: Code
GetTimeHeader
CString GetTimeHeader(void)
{
SYSTEMTIME st;
GetLocalTime(&st);
CString ret;
ret.Format("%02d%02d%02d-%02d:%02d:%02d.%03d", st.wYear % 100, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, st.wMilliseconds);
return ret;
}