CArchive::~CArchive

Syntax

~CArchive();

Remarks

The CArchive destructor closes the archive if it is not closed already. However, you should call the member function Close before calling the destructor. After you have used the CFile object for archiving, you must close and destroy it as you usually would.

See Also

CArchive::Flush, CFile::Close