LibBuilder is designed to build and regenerate library objects from Powerbuilder. It streamlines the development process by working directly with Powerbuilder objects.

The program was developed and tested on Windows 10 - 32Bit using C# with WPF. It requires either the .NET Framework (>= v.4.72) or the .NET Core Framework (>= v.3.1) to run. For ORCA functions, the corresponding ORCA DLL is installed with Powerbuilder. Supported versions include:
Name | Orca-DLL |
---|---|
PowerBuilder 10.5 | PBORC105.DLL |
PowerBuilder 12.5 | PBORC125.DLL |
PowerBuilder 17.0 | PBORC170.DLL |
PowerBuilder 19.0 | PBORC190.DLL |
The second version of LibBuilder stores everything in a database without creating extra files. Only two files are found in the installation directory: the executable and the database, which is located at AppData\Roaming\LibBuilder\libbuilder.db.
Note that issues with Powerbuilder may occur if the target is open while LibBuilder is in use.
The following runtime examples illustrate both successful execution and error cases:


LibBuilder allows multiple procedures to run concurrently by selecting different targets. Each running process is added as a new tab.

LibBuilder can be executed from the command line. The parameter order and case are irrelevant. Below is a list of parameters and sample commands:
Parameter (short) | Parameter (long) | Description | Type | Input |
---|---|---|---|---|
-w | -Workspace | Name or path of workspace | string | |
-t | -Target | Name or path of target | string | |
-v | -Version | Powerbuilder version of the workspace | enum | PB105 = 105, PB125 = 125, PB170 = 170, PB190 = 190 |
-b | -Build | Build libraries | boolean | true or false |
-r | -Regenerate | Regenerate library objects | boolean | true or false |
-l | -Librarys | Choices of libraries | list of strings | |
-x | -RebuildType | Type of rebuild | enum | PBORCA_FULL_REBUILD = 1, PBORCA_INCREMENTAL_REBUILD = 2, PBORCA_MIGRATE = 3, PBORCA_3PASS = 4 |
Samples:
- Execute last saved procedure:
- Full build of target tlfi_lokal.pbt:
- Regenerate all objects of libraries client_elinv.pbl and client_tlfiutils.pbl:
- First time working on a workspace with a complete build:
- Show version:
- Show help:



