← BYTES
Visual C++/MFC·Starter·Ref: 25.1.17

Which MFC class provides basic COM smart-pointer-like wrapping for OLE/ActiveX automation objects?

Have a question about this video? Mention reference 25.1.17 when you contact us.

a.CObject
b.COleDispatchDriver
c.CWnd
d.CDocument
COleDispatchDriver (and its typed subclasses generated by the Class Wizard) wraps IDispatch-based automation calls, letting MFC code call an OLE Automation server's methods as ordinary C++ member function calls.

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#BYTES25117#VisualCMFC