CArchive::GetFile
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CArchive::GetFile

Gets the CFile object pointer for this archive.

CFile* GetFile( ) const;

Return Value

A constant pointer to the CFile object in use.

Remarks

You must flush the archive before using GetFile.

Example

extern CArchive ar;
const CFile* fp = ar.GetFile();

See Also

CArchive Overview | Class Members | Hierarchy Chart | CArchive::Flush

Show:
© 2016 Microsoft