Export (0) Print
Expand All

CFile::Flush 

Forces any data remaining in the file buffer to be written to the file.


virtual void Flush( );

The use of Flush does not guarantee flushing of CArchive buffers. If you are using an archive, call CArchive::Flush first.

See the example for CFile::SetFilePath.

Community Additions

ADD
Show:
© 2014 Microsoft