RAD Studio (Common)
ContentsIndex
PreviousUpNext
Linking C++ Library and Object Files

When you add a .lib or .obj file to your project, C++ attempts by default to locate the file by using the library search path (set on the ProjectOptionsDirectories and Conditionals dialog box). You can use the Link by Name Only context-menu command on the Project Manager to specify that C++ locate the file by the file's own explicit file path.

To specify that a file be linked by its explict file path

  1. In the Project Manager, right-click the .lib or .obj file.
  2. In the context menu, uncheck Link by Name Only. When Link by Name Only is checked, the file is located by the library search paths that you have set. When Link by Name Only is unchecked, the file is located by its own explicit file path.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!