Monday, May 28, 2001 02:14 AM
I'm not an expert in VB by any standard, but I can provide you with a few small pointers which may be of use:
- It looks like the INSTANCE_RepositoryID property was being used by your VB code to access a CORBA object.
- You probably updated to a newer version of COMet, which has deprecated the use of this property, and replaced it with a function DIObjectInfo::scoped_name(), which is more object oriented.
- You need to replace references to INSTANCE_RepositoryID with calls on this function.
Okay, that's the obvious stuff. For the next steps I would advise examining the release notes for your version of COMet. If the change that you are experiencing has just been introduced, the release notes will have an entry corresponding to the change, and perhaps some extra info as well.
In addition, the API reference for COMet will have an entry for the INSTANCE_RepositoryID. It should explain that use of this variable for getting at instances of your CORBA objects is deprecated and provide you with a description of how to use the replacement. (I have searched for the PDF version on IONA's website, to no avail, so I'm not completely
sure of my facts here.)
Failing that, and if your company has a support agreement with IONA, you can forward your query to their support team - they are usually quite good.
Hope this helps,