共用方式為


CRuntimeClass::m_pfnGetBaseClass

If your application uses the MFC library as a shared DLL, this data member points to a function that returns the CRuntimeClass structure of the base class.

Remarks

If your application statically links to the MFC library, see m_pBaseClass.

Example

See the example for IsDerivedFrom.

Requirements

Header: afx.h

See Also

Reference

CRuntimeClass Structure

Hierarchy Chart