This constructor constructs a CArchive object and specify whether it will be used for loading or storing objects. You cannot change this specification after you have created the archive.
CArchive( CFile* pFile, UINT nMode, int nBufSize = 512, void* lpBuf = NULL); throw( CMemoryException, CArchiveException, CFileException);
Header file: | Afx.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CArchive Overview, CArchive Member Functions, Run-Time Object Model Support, CArchive::Close, CArchive::Flush, CFile::Close