Vai al contenuto

Including a Library

The following procedure shows you how to include a library in a GF_ProjectVX code project, which results in all the library’s objects becoming available to the current project.Including a library means that a reference to the library’s .pll file is added to the current project, and that a local copy of the library is made. Note that you cannot edit the elements of an included library, unlike imported objects.If you want to copy or move a project which includes one or more libraries, make sure that references to those libraries are still valid in the new location.
  • Click Project>Library manager which opens the Library manager dialog box.
  • Press the upper Add button, which causes an explorer dialog box to appear, to let you select the library you want to open.
  • When you have found the library file, open it either by double-clicking it or by clicking the Open button. The name of the library and its absolute pathname are now displayed in a new row at the bottom of the list in the Library box.
  • Repeat step 1, 2, and 3 for all the libraries you wish to include.
  • When you have finished including libraries, click either OK to confirm, or Cancel to quit.
Alternatively, if you already have one or more set of libraries you wish to include in your project, a quicker way is to specify a folder path in the Libraries directories box. This way all the libraries inside the specified folder will be included to the project.
  • Click Project>Library manager which opens the Library manager dialog box.
  • Press the lower Add button, which causes an explorer dialog box to appear, to let you select desired folder.
  • Add the selected folder by clicking the OK button.
  • When you have finished including libraries, press either OK to confirm, or Cancel to quit. Pressing OK will cause all the library in the selected folders to be included in the project
  • If, by error, you include a library that redefines an object or a symbol (defined inside the project or in a previously included library), you will get a proper WARNING message but the include operation will be completed sucesfully; the redefined symbol of the latest in- cluded library, will be automatically excluded from build.