Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
IMPLEMENT_DYNAMIC Macro
CObject                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  IMPLEMENT_DYNAMIC( class_name, base_class_name )
 
  Parameter         Description
 
  <class_name>      The actual name of the class (without quotes).
 
  <base_class_name> The name of the base class (without quotes).
 
  Remarks
 
  Generates the C++ code necessary for a dynamic CObject-derived class
  with run-time access to the class name and position within the
  hierarchy. Use the IMPLEMENT_DYNAMIC macro in a .CPP module, then link
  the resulting object code only once. For more information, see "How to
  Derive a Class from CObject," in Chapter 8 of the <Class Libraries
  User's Guide>.
 
  See Also
 
  IMPLEMENT_SERIAL Macro
 
 
                                     -♦-