If you did not use any of the types of references described in the preceding sections, you do not need to do anything else to ensure that all objects get distributed: they are all built into the executable file. Otherwise, you have the following choices for how to include the objects that were not found.
For graphic objects such as icons and bitmaps, you have two choices:
Distribute them separately
Include them in a PowerBuilder resource file (PBR), then build an executable file or dynamic PowerBuilder library that uses the resource file
For DataWindow objects, you have two choices:
Include them in a PBR, then build an executable file or dynamic PowerBuilder library that uses the resource file
Build and distribute a dynamic library from the PBL that contains the DataWindow objects
All other objects, such as windows referenced only in string variables, must be included directly in a dynamic library.
Table 34-3 summarizes resource distribution possibilities.
Distribution method |
Graphic objects |
DataWindow objects |
Other objects |
---|---|---|---|
As a separate file |
Yes |
No |
No |
In an executable or dynamic library that references a PBR |
Yes |
Yes |
No |
Directly in a dynamic library |
No |
Yes |
Yes |