// std::string strAnsi;
//#ifndef UNICODE
// strAnsi = strContent;
//#else
// USES_CONVERSION;
// strAnsi = W2A(strContent.LockBuffer());
// strContent.UnlockBuffer();
//#endif
const BYTE head[2] = {0xff,0xfe};
txtFile.Open(szFileName,CFile::modeWrite|CFile::modeCreate);
txtFile.Write(head,2 * sizeof(BYTE));
txtFile.Write(strContent,strContent.GetLength() *2);
txtFile.Close();
//#ifndef UNICODE
// strAnsi = strContent;
//#else
// USES_CONVERSION;
// strAnsi = W2A(strContent.LockBuffer());
// strContent.UnlockBuffer();
//#endif
const BYTE head[2] = {0xff,0xfe};
txtFile.Open(szFileName,CFile::modeWrite|CFile::modeCreate);
txtFile.Write(head,2 * sizeof(BYTE));
txtFile.Write(strContent,strContent.GetLength() *2);
txtFile.Close();