How to Implement multiple dual interfaces ?
Answers were Sorted based on User's Feedback
Answer / mushtaq ahmad
You can implement a dual interface using the IDispatchImpl
class, which provides a default implementation of the
IDispatch methods in a dual interface. For more information
To use this class:
Define your dual interface in a type library.
Derive your class from a specialization of IDispatchImpl
(pass information about the interface and type library as
the template arguments).
Add an entry (or entries) to the COM map to expose the dual
interface through QueryInterface.
Implement the vtable part of the interface in your class.
Ensure that the type library containing the interface
definition is available to your objects at run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mushtaq ahmad
Open the link below and see you answer:
http://vcfaq.mvps.org/com/9.htm
| Is This Answer Correct ? | 0 Yes | 0 No |
What changes does a control need to run in an MFC 4.2b container?
How to Obtain data from the client via an outgoing event dispinterface in ATL ?
How to Reuse interface implementation in source in ATL projects ?
What Is "AtlAxWin80"?
What changes does a control need to run in the Visual Basic 5.0 Control Creation Edition?
how do you like to go up in a swing
sap hana online training in USA UK CANADA INDIA AUSTRALIA
why we write function's implementation in .h file while developing the Web application through VC++?
what is proces ?
how to create SDK based ATL ? how to create SDK based COM?
How to get the <PARAM> tag to work with an ATL control?
Will ATL create all of the topological relationships within the topology layer?