CArchive::GetFile

Syntax

CFile* GetFile() const;

Remarks

Gets the CFile object pointer for this archive. You must flush the archive before using GetFile.

Return Value

A constant pointer to the CFile object in use.

Example

extern CArchive ar;

const CFile* fp = ar.GetFile();