CArchive::CArchive

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.

Syntax

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

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CArchive Overview, CArchive Member Functions, Run-Time Object Model Support, CArchive::Close, CArchive::Flush, CFile::Close