I am currently writing a generic system where user object names are stored in a database and instantiated upon request.
This is currently working beautifully, but I fall short when attempting to load a user object that does not exist in the PBDs listed in the application’s library list.
What I want to do is search for the object in the PBD list before attempting to instantiate it.
The LibraryDirectory function appears only to work with PBL files.
What can I do to remedy this?
In PowerBuilder 6 and 7, Sybase has added an API called the Class Definition Objects. You can use these to find objects and load them into special classes so you can examine the properties and methods in your PowerScript.