Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ambiguity between two component and their Interfaces....

Status
Not open for further replies.

ChandruNM

Programmer
May 16, 2000
6
US
Hi there,<br><br>I know that all COM interfaces should be immutable and unique. Also I know that all COM components and its interfaces will be identified by GUID's. <br>My quest here is,... Is it possible to create two components with the same name (of course with different UUID) and each component will have the same interfaces will there be any ambiguity?. If yes how will client will know that I am requesting the 'xyz' interface of 'abc' component?Remember here we have two components 'abc' and both does contains 'xyz' interfaces.<br><br>Doubt clearence will be appreciable<br><br>Thanx...
 
If you want to do that you have to reference it by the App-id whinc is the guid instead of the progid which is the name of the component!<br><br>I would suppose that if you want to do that in VB you can also just make a reference to the desired object. You can see where the desired object is placed locally or remotely!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top