← BYTES
Visual C++/MFC·Starter·Ref: 25.1.15
In MFC, which class template-like macro pair declares and implements runtime type information for a class derived from CObject?
Have a question about this video? Mention reference 25.1.15 when you contact us.
a.DECLARE_SERIAL / IMPLEMENT_SERIAL
b.DECLARE_CLASS / IMPLEMENT_CLASS
c.DECLARE_RTTI / IMPLEMENT_RTTI
d.DECLARE_DYNAMIC / IMPLEMENT_DYNAMIC
DECLARE_DYNAMIC (in the header) and IMPLEMENT_DYNAMIC (in the .cpp) give an MFC class its own CRuntimeClass-based dynamic type information, used by MFC's runtime type checking (separately from DECLARE_SERIAL, which additionally supports serialization).
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES25115#VisualCMFC