|

|
Programming
Staff Tips
Including
LINK Libraries (.LIB files) in Your Build
When you want
to call dynamic link libraries from your program you generally need
to specify the LINK libraries, created from the .DLLs, when linking.
The Programming Staff (P-Staff) Dependent Files dialog lets you
specify the LINK libraries by using the Browse button. Note that
you do not use the Libraries button, as this refers to COBOL source
libraries. The steps to follow are:
- Invoke the
Dependent Files dialog by selecting Project, Files from the P-Staff
menu, or by clicking the Files button in the project window.
- Click the
Browse button, this displays a Browse Files dialog.
- Select the
drop down list "Files of type".
- Select "Library
Files (*.LIB)" from the list. All files with extension .LIB are
listed.
- Select the
LINK library you want to include and click the Open button. The
path name for the library is returned to the File entry field
in the Dependent Files dialog.
- Click the
Add button to add the library to the dependent files list. P-Staff
includes this library when the project is linked.

|