Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to Implement multiple dual interfaces ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2462


How to Use structs in Automation-compatible interfaces?

3026


why we write function's implementation in .h file while developing the Web application through VC++?

2903


what type of questions are asked in the test of pcs and what type of questoins are asked by interviewer in pcs interview.

2718


Does ATL require an application server to operate?

2522


How to get the tag to work with an ATL control?

2069


What changes does a control need to run in an MFC 4.2b container?

2295


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

3139


How to Implement static object hierarchies in ATL ?

3681


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

2121


What changes does a control need to run in the Visual Basic 5.0 Control Creation Edition?

2133