Including additional resources in the PBD file

When building a runtime library (PBD file), DataWindow Designer does not inspect the objects; it simply removes the source form of the objects from the library (leaving only the runtime version). Therefore, if any of the objects in the library use resources (pictures and pointers) and you do not want to provide these resources separately, you must list the resources in a resource file (PBR file). Doing so enables DataWindow Designer to include the resources in the runtime library when it builds it.

A PBR file is an ASCII text file in which you list resource names (such as BMP, CUR, RLE, and WMF files) and DataWindow objects.

StepsTo create a PowerBuilder resource file (PBR file):

  1. Using a text editor, create a text file that lists all resource files referenced in your DataWindow objects. List the names of each resource, one resource on each line, then save the list as a file with the extension PBR.