Mega Code Archive

 
Categories / Delphi / ADO Database
 

Finding the repositoryid of a corba server

Question: Where can I find the RepositoryId for a CORBA server? I need it in order to put it in the client's TCorbaConnection. Answer: Open up the _TLB.PAS file that got generated for your server's type library and go to the end of it. You'll see the RepositoryId as the first parameter to the call to CorbaFactoryCreateStub in the CreateInstance class function for your CORBA factory.