//日志文件
string LogFilePathStr=config.GetConfigstring("ConfigInfo","LogFilePath","E:\\Log");
LogFilePathStr.append(Delimiter);
LogFilePathStr.append("LogFile");
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);
memset(YearFile,0,sizeof(YearFile));
sprintf(YearFile,"%0.4d",sys.wYear);
LogFilePathStr.append(Delimiter);
LogFilePathStr.append(YearFile);
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);
memset(MonthFile,0,sizeof(MonthFile));
sprintf(MonthFile,"%0.2d",sys.wMonth);
LogFilePathStr.append(Delimiter);
LogFilePathStr.append(MonthFile);
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);
string LogFilePathStr=config.GetConfigstring("ConfigInfo","LogFilePath","E:\\Log");
LogFilePathStr.append(Delimiter);
LogFilePathStr.append("LogFile");
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);
memset(YearFile,0,sizeof(YearFile));
sprintf(YearFile,"%0.4d",sys.wYear);
LogFilePathStr.append(Delimiter);
LogFilePathStr.append(YearFile);
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);
memset(MonthFile,0,sizeof(MonthFile));
sprintf(MonthFile,"%0.2d",sys.wMonth);
LogFilePathStr.append(Delimiter);
LogFilePathStr.append(MonthFile);
memcpy(LogFilePath,LogFilePathStr.c_str(),LogFilePathStr.length());
CreateDirectory(LogFilePath,NULL);