CFile file;
file.Open(strName, CFile::modeWrite|CFile::modeNoTruncate|CFile::modeCreate);
if( file.GetLength() != )
{
file.SeekToEnd();
file.Write("\r\n",strlen("\r\n"));//换行
}
file.Write(strValue.GetBuffer(), strValue.GetLength());
file.Close();
05-11 15:02