How to Implement multiple dual interfaces ?

Answers were Sorted based on User's Feedback



How to Implement multiple dual interfaces ?..

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

How to Implement multiple dual interfaces ?..

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

Post New Answer

More ATL Interview Questions

How to get the <PARAM> tag to work with an ATL control?

0 Answers  


Will ATL create all of the topological relationships within the topology layer?

0 Answers  


sap hana online training in USA UK CANADA INDIA AUSTRALIA

1 Answers   SAP Labs,


how to create SDK based ATL ? how to create SDK based COM?

1 Answers   TCS,


WHAT IS DIFF BETWEEN int a[][]=[4] int [][]a=[4]

2 Answers   HCL,






Which ATL Classes Facilitate ActiveX Control Containment?

1 Answers  


What are the known problems with the ATL 2.0 Object Wizard?

1 Answers  


What are the reasons an ATL server might fail to register?

1 Answers  


Why is the put_Font or putref_Font method not called when an ActiveX control's Font property is changed by the ActiveX Control Pad?

0 Answers  


How to Reuse interface implementation in source in ATL projects ?

1 Answers   Syntel,


How to Obtain data from the client via an outgoing event dispinterface in ATL ?

0 Answers  


How to Load Controls Specified at Run Time?

1 Answers  


Categories