After you have defined your objects, use the Library painter to build PowerBuilder dynamic libraries (PBDs) or compiled libraries (DLLs). All the libraries accessed in the same PowerBuilder.Application session must be the same type. The reasons for choosing either type, Pcode or compiled machine code, are the same as for building any PowerBuilder application.
Here is a quick overview of what you need to do to build each library in the Library painter.
In the Library painter, select the library name.
Select Library>Build Runtime Library.
Check or clear the Machine Code check box to correspond to your decision about PBDs versus DLLs.
Other options in the dialog box are not essential to this process. For information about them, click the Help button or see the PowerBuilder User’s Guide.
Click OK to build the library.
Repeat steps 1 to 4 for each library specified in the LibraryList property of PowerBuilder.Application.
Put the resulting PBDs or DLLs in the desired directory. The client application will specify the paths so that the server can locate them.
For more information about building an application in the Project painter, see the PowerBuilder User’s Guide.