CArchive::CArchive

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.

At a Glance

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

Syntax

CArchive( CFile* pFile, UINT nMode, int nBufSize = 512, void* lpBuf = NULL); throw( CMemoryException, CArchiveException, CFileException);

See Also

CArchive::Close, CArchive::Flush, CFile::Close