void LogRecord(CString strlog,int nPlatformIndex)
{
SYSTEMTIME sys;
GetLocalTime( &sys );
CString t;
t.Format("[%02d_%02d_%02d_%02d_%02d_%03d]",sys.wMonth,sys.wDay,sys.wHour,sys.wMinute,sys.wSecond,sys.wMilliseconds);
CString strPath;
CString strTemp = "";
strTemp += t;
strTemp += strlog;
strTemp+= "\n";
FILE *stream;
CString strDir;
CFileFind findFile;
BOOL IsFild, IsDir;
IsFild = FALSE;
IsDir = FALSE;
strDir = "D:\\ASMLog";
IsFild = findFile.FindFile(strDir);
while (IsFild)
{
IsFild = findFile.FindNextFile();
IsDir = findFile.IsDirectory();
if(IsDir) break;
}
if (!IsDir)
{