Using the Pervasive Direct Access Components
You install the PDAC components by unzipping the components from an archive to a directory of your choice (installdir). You must ensure that any Delphi or C++ Builder IDEs on your system can locate the components after they are unzipped.
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.
1
Select ProjectOptions, and choose the Directories/Conditionals tab.
2
Add installdir\sdk\pdac\Delphi?\include to the Include Path, where installdir represents the directory where you installed the SDK. Replace the ? with the version of RAD Studio you are using.
3
Also add installdir\sdk\pdac\Delphi?\lib and installdir\sdk\pdac\Delphi?\lib\dcu to the Library Path, separated by a semicolon. Replace the ? with the version of RAD Studio you are using.
After the Include and Library paths are set properly, you can use the Direct Access components in exactly the same way as the corresponding Embarcadero components.
Delphi 2006, Delphi 2007 and C++ Builder 2007
Pervasive PSQL provides support for Delphi 2006 and Delphi 2007 and for C++ Builder 2007. Use the following steps to incorporate Delphi 2006, Delphi 2007, or C++ Builder 2007 into your environment.
1
2
3
Since Delphi 2007 and C++ Builder 2007 are binary compatible with Delphi 2006 (BDS 2006), all of your existing Embarcadero package libraries (BPLs) should work without any modification. Note that Delphi 2007 and C++ Builder 2007 declare compiler variable VERSION_180 and VERSION_185.
RAD Studio
Follow these steps to add components to the compiler IDE for the following editions of RAD studio:
1
2
RAD Studio 2009 Components
RAD Studio 2010 Components
RAD Studio XE Components
RAD Studio XE2 Components (IDE supports 32-bit only)
RAD Studio XE3 Components (IDE supports 32-bit only)
RAD Studio XE4 Components (IDE supports 32-bit only)
RAD Studio XE5 Components (IDE supports 32-bit only)
RAD Studio XE6 Components (IDE supports 32-bit only)
Once the components for your environment have been selected, a Pervasive tab is visible on VCL projects. Applications using PDAC can now be built by adding PvTable or PvQuery.