Поделиться через


Fundamentals of ATL COM Objects

The following illustration depicts the relationship among the various classes and interfaces used in defining an ATL COM object.

Структура ATL

ATL implements IUnknown in two phases:

Other aspects of your ATL COM object are handled by other classes:

  • CComCoClass defines the object's default class factory and aggregation model.

  • IDispatchImpl provides a default implementation of the IDispatch Interface portion of any dual interfaces on the object.

  • ISupportErrorInfoImpl implements the ISupportErrorInfo interface that ensures error information can be propagated up the call chain correctly.

In This Section

  • Creating an ATL Project
    Provides information about creating an ATL COM object.

  • ATL
    Provides links to conceptual topics on how to program using the Active Template Library.

См. также

Основные понятия

ATL Concepts