CArchive::GetFile

 

Gets the CFile object pointer for this archive.

Syntax

CFile* GetFile( ) const;

Return Value

A constant pointer to the CFile object in use.

Remarks

You must flush the archive before using GetFile.

Example

const CFile* fp = ar.GetFile();

Requirements

Header: afx.h

See Also

CArchive Class
Hierarchy Chart
CArchive::Flush