// 파일 크기를 가져온다. CFile* pFile = NULL; ULONGLONG dwLength = 0; TRY { pFile = new CFile(strFilename, CFile::modeRead | CFile::shareDenyNone); dwLength = pFile->GetLength(); } CATCH(CFileException, pEx) { // Simply show an error message to the user. dwLength = 25000; } AND_CATCH(CMemoryException, pEx) { dwLength = 25000; } END_CATCH if (pFile) { pFile->Close(); delete pFile; } CString str; str.Forma..