Can COM interface functions be overloaded?
-
Hi , Does anyone know if the functions in COM interface can be overloaded or not? Thank you.
tpndtbk wrote: Does anyone know if the functions in COM interface can be overloaded or not? Nope It Not Possible,Actually Component Technology to Interlink Langauges and concept like Function overloading,Inheritance etc. cannot be found in every language. so that why Com developer has sacrfice many thing Good Programming Concepts to Create Component. ----------------------------- "I Think this Will Help" ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
Hi , Does anyone know if the functions in COM interface can be overloaded or not? Thank you.
-
You could also take a look at aggregation and containment if you are trying to perform it from the server side. It is not necessarily that COM doesn't support good programming practice, the whole reason for the development of COM was to insulate the client from the details of implementation; thus implementation inheritance is out of the question since it requires too much detailed information over how the "insides" work. COM does support interface inheritance, which is developed through aggregation and containment. These tools allow you to specialize COM interfaces.