Question:
How can I import objects in code? I need to import to a library objects such as userobject and window, and not only datawindow. I use the function libraryexport
to export every object, but when I use libraryimport
I see that the only object I can import is a datawindow type.
Answer:
You need to use a feature of PowerBuilder called ORCA. ORCA allows you complete contol over PowerBuilder applcation Libraries. ORCA is a DLL with many functions you can call. However, you can download a sample appliction from the Sybase Web site that is written in PowerBuilder and shows you how to make use of the ORCA DLL.