pbx2pbd190

Description

The pbx2pbd190 tool generates a PowerBuilder dynamic library (PBD) file from a PowerBuilder extension PBX. The generated PBD can be added to the library list of any PowerBuilder application target that will use the objects and methods in the PowerBuilder extension.

Syntax

pbx2pbd190 [+] des.pbd  src1.pbx [ src2.pbx src3.pbx ...srcn.pbx ]

Examples

This example generates a new PBD test.pbd from test.pbx. The input and output files are in the current directory:

pbx2pbd190 test.pbd  test.pbx

This example appends generated information from C:\myproject\src.pbx to C:\mypbds\des.pbd. (If des.pbd does not exist, it is created.)

pbx2pbd190 + C:\mypbds\des.pbd C:\myproject\src.pbx

This example generates a new PBD D:\pbds\test.pbd from all the PBX files in the C:\myproject directory:

pbx2pbd190 D:\pbds\test.pbd C:\myproject\*.pbx

This example generates PBD information from all the PBX files in the C:\temp and D:\temp directories and appends the information to the existing generated PBD file D:\pbds\test.pbd:

pbx2pbd190 + D:\pbds\test.pbd c:\temp\*.pbx d:\temp\*.pbx

Usage

You can import an extension into a PowerBuilder library using the Import PB Extension pop-up menu item for the library in the PowerBuilder System Tree. Prior to PowerBuilder 11.5, you had to use the pbx2pbdnnn tool to create a PBD file from a PBX file, then add the PBD to the library list of your PowerScript target. The tool is still available in this release.

You can include multiple PBXs in a single PBD file. If you want to add additional PBXs to an existing PBD, use the plus (+) sign before the name of the PBD.

The pbx2pbd190 tool is installed in the system PATH in the %Appeon%\Shared\PowerBuilder directory so you can invoke it in the directory where the PBXs reside.

If you specify an absolute path for the PBX file when you generate the PBD, the PowerBuilder application searches for the PBX only in the specified path.

If you do not specify the path for the PBX file, the PowerBuilder application searches the system path for the PBX.