Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Generates the C++ code necessary for a dynamic CObject-derived class with run-time access to the class name and position within the hierarchy.
IMPLEMENT_DYNAMIC(class_name, base_class_name )
Parameters
class_name
The actual name of the class.base_class_name
The name of the base class.
Remarks
Use the IMPLEMENT_DYNAMIC macro in a .cpp module, and then link the resulting object code only once.
For more information, see CObject Class Topics.
Example
class CPerson : public CObject
{
DECLARE_DYNAMIC( CPerson )
// other declarations
};
IMPLEMENT_DYNAMIC( CPerson, CObject )
Requirements
Header: afx.h