no_dual_interfaces
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 no_dual_interfaces. C++ Specific
Changes the way the compiler generates wrapper functions for dual interface methods.
Syntax
no_dual_interfaces
Remarks
Normally, the wrapper will call the method through the virtual function table for the interface. With no_dual_interfaces
, the wrapper instead calls IDispatch::Invoke to invoke the method.
END C++ Specific