Udostępnij za pośrednictwem


Dual Interfaces and ATL

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Dual Interfaces and ATL.

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.

In This Section

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.

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

See Also

Concepts