BOOL CExportDlg::MyCreateDirectory(CString strDirectory){ int nPos; int nTempPos; CString strTemp; CFileFind ff; BOOL bFind = ff.FindFile(strDirectory); if(bFind)//有此目录 return TRUE; nPos = strDirectory.Find("\\",3); if(nPos < 0) nPos = strDirectory.Find("/",3); if(nPos < 0) return FALSE; while...
void WriteLog(CString content){ g_cs.Lock(); SYSTEMTIME st; CString strtm, strout; ::GetLocalTime(&st); strtm.Format("%d-%.2d-%.2d %.2d:%.2d:%.2d",st.wYear,st.wMonth,st.wDay,st.wHour,st.wMinute,st.wSecond); strout.Format("<%s> %s\r\n",strtm,content); OutputDebugString(strout);
char moduleF...
// Buffer.h: interface for the CBuffer class.////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BUFFER_H__B477EDB0_45FF_4DCC_910F_1EF9BF4F94DF__INCLUDED_)#define AFX_BUFFER_H__B477EDB0_45FF_4DCC_910F_1EF9BF4F94DF__INCLUDED_
#if _MSC_VER > 1000#pragma once#...