PreviousPDAC Programmer's Guide (9.1 revision 1) Next

Using the Pervasive Direct Access Components

Show this topic in Library frames

The SDK installation adds PDAC components to any Delphi or C++ Builder IDEs on your system at the time of the installation. Follow these steps to set C++ Builder "Project Options" to reflect the INCLUDE and LIBRARY paths for PDAC. These can be added to the default options, so the steps are unnecessary for every project using the Pervasive components.

To add Pervasive Direct Access Components to the INCLUDE and LIBRARY paths in C++ Builder:

  1. Select Project | Options, and choose the Directories/Conditionals tab.
  2. Add <installdir>\sdk\pdac\BCB?\include to the Include Path, where <installdir> represents the directory where you installed the SDK (C:\PVSW is the default). Replace the "?" with the version of C++ Builder you are using.
  3. Also add <installdir>\sdk\pdac\BCB?\lib and <installdir>\sdk\pdac\BCB?\lib\dcu to the "Library Path", separated by a semicolon (;). Replace the "?" with the version of C++ Builder you are using.
  4. Check the Default box (if you want these to be the defaults for all projects you create), then click OK to save these options.

After the Include and Library paths are set properly, you can use the Direct Access components in exactly the same way as the corresponding Borland components.


Chapter contents
Publication contents

Prev topic: Overview of Pervasive Direct Access Components for Delphi and C++ Builder
Next topic: Differences Between Pervasive and Borland Implementation