파일기록

CFile File(".\\scheduler_log.txt", CFile::modeCreate | CFile::modeNoTruncate | CFile::modeReadWrite);
File.SeekToEnd();
CString msg_log;
CTime time = CTime::GetCurrentTime();

msg_log.Format("\n\r%4d년%02d월%02d일 Error FileName : %s\n\r",time.GetYear(),time.GetMonth(),time.GetDay(),sFileName);
File.Write(msg_log.GetBuffer(0), msg_log.GetLength());
File.Close();

Posted by rCan

2010/06/21 15:34 2010/06/21 15:34
Response
No Trackback , No Comment
RSS :
http://rcan.net/rss/response/600

Trackback URL : http://rcan.net/trackback/600

Leave a comment
« Previous : 1 : ... 5 : 6 : 7 : 8 : 9 : 10 : 11 : 12 : 13 : ... 439 : Next »

블로그 이미지

- rCan

Calendar

«   2012/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Notices

  1. About Me

Site Stats

Total hits:
113575
Today:
6
Yesterday:
43