Dual Interfaces and ATL


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

A dual interface allows its methods to be accessed as dispinterface methods or as vtable methods. This section covers some of the features of dual interfaces from an ATL perspective.

Implementing a Dual Interface
Discusses the classes and wizards involved in implementing a dual interface.

Multiple Dual Interfaces
Discusses how to expose multiple dual interfaces on a single object.

The nonextensible Attribute
Discusses when to use the nonextensible attribute on your interface definition.

Dual Interfaces and Events
Discusses design reasons for not making an event interface a dual interface.

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