file.Open( "Data.txt", CFile::modeWrite | CFile::modeCreate | CFile::typeBinary );

file.Write( "BackupData\n", 13 );


for( int i = 0; i < m_FolderBackupList.GetCount(); i ++ )

{

csBuffer = m_FolderBackupList.GetAt( i );

file.Write( csBuffer, csBuffer.GetLength() );

}


file.Write( "ProtectData\n", 14 );

for( int i = 0; i < m_FolderProtectList.GetCount(); i ++ )

{

csBuffer = m_FolderProtectList.GetAt( i );

file.Write( csBuffer, csBuffer.GetLength() );

}


file.Close();

'NativeCode > mfc' 카테고리의 다른 글

CDC 글 쓰기  (0) 2010.03.18
Font 바꾸기  (0) 2010.03.18
Modal Vs Modless  (0) 2010.03.18
Process 강제 종료 막기  (0) 2010.03.18
Dialog 메인 윈도우 색 바꾸기  (0) 2010.03.18

+ Recent posts