void CMyDlg::OnBTNCheckFile() {CFileDialog dlg(TRUE, NULL, _T(""), OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, _T("数据文件(*.DAT)|*.Dat|所有文件(*.*)|*.*||")); dlg.m_ofn.lStructSize = 88; if (dlg.DoModal() != IDCANCEL){CString fn;CString strTmp;CString rname;CString describes[15];CFile fpreport[2];CFile fp1, fp2;char lf[] = {0x0D, 0x0A, '\0'};int nn, iLen;int lostCnt,errorCnt;unsigned long lFrmCnt, lPFC,firstEB90=0;unsigned long lFrmCnt2, lPFC2,firstEB902=0;long i,flag146f=-2;bool zhenFlag=FALSE;bool zhenFlag2=FALSE;char buf[256]; HANDLEhFile;DWORDdwFileSize;PVOIDpvFile;HANDLEhFileMap;uns