CArchive::m_pDocument

This data member contains a pointer to a CDocument. You can use this pointer to convey additional information about the serialization process to all objects being serialized. Initialize the pointer, with the document that's being serialized, in such a way that objects within the document can access the document if necessary.

CDocument m_pDocument;

At a Glance

Header file: Afx.h
Platforms: !klink(m_pDocument)
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CArchive Overview, CArchive Data Members, Run-Time Object Model Support, CDocument