This constructor constructs a CArchive object and specifies whether it will be used for loading or storing objects. Once the archive is created, this specification cannot be changed.
Header file: | Afx.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CArchive( CFile* pFile, UINT nMode, int nBufSize = 512, void* lpBuf = NULL); throw( CMemoryException, CArchiveException, CFileException);
CArchive::Close, CArchive::Flush, CFile::Close