C++ COM ActiveX Question:

Explain dual interfaces?

C++ COM ActiveX Interview Question
C++ COM ActiveX Interview Question

Answer:

A dual interface allows its methods to be accessed as dispinterface methods or as vtable methods.

Dual interface is one that supports both - IDispatch interface and vtbl-based interface. Therefore, it might be used in scripting environment like VBScript and yet to use power and speed of vtbl-based interface for non-scripting environment.


Previous QuestionNext Question
Explain shallow and deep copy?Explain ActiveX and OLE?