delphi-xe7pervasive

How to install Pervasive Direct Access components in Delphi-XE7


I have been trying for two days to install Pervasive PDAC components. I do everything according to Actian instructions. After selecting the required .bpl files, I keep on getting a message that the specified module could not be found. I have tried every thing that I can think about. Added the relevant folder to the library path. Started Delphi as administrator but nothing helps. The following is the error I am getting. I have V10 installed but can only find V11-PDAC

enter image description here


Solution

  • I was getting the same error using Delphi 10.3. Once I added the location of the PDAC lib directory for the version of Delphi to my System Path, I was able to install the PDAC components and use them in a VCL application. I had tried adding the location to both the Library Path and Browsing Path and was able to install the package but got an error when trying to create a new VCL application.

    As an alternative, I added the location of the extracted PDAC files (...\PDAC\DelphiXXX\x86\Lib) to the Library Path and Browsing Path. I then copied the BPL files for the compiler version (in my case Delphi 10.3) from the lib path to where my Pervasive v11 was installed (C:\Program Files (x86)\Pervasive Software\PSQL\bin) and I was able to install the package, selecting the "D" BPL from the Pervasive install directory, not the LIB directory. Once installed, I was able to create a VCL application and access the data on a remote server using a TPvSession and TPvTable component.