Call this member function to close the memory file and retrieve a pointer to the memory block being used by the CMemFile object.
BYTE * Detach( );
| Header file: | Afx.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation | Visual C++ documentation |
CMemFile Overview, CMemFile Member Functions, File Service Classes, CFile::GetLength, CMemFile::Attach