保存:
USES_CONVERSION;
FILE *file=_tfopen(flg.GetPathName(),L"wb+");
char *szData=T2A(e[i].m_strName.GetBuffer(0));
fwrite((void*)szData,sizeof(char),64,file);
读取,:
USES_CONVERSION;
FILE *file=_tfopen(filename,_T("rb+"));
fread((void*)szData,sizeof(char),64,file);
p.m_strName.Format(_T("%s"),A2T((char*)szData));