Distributing Pervasive PSQL Applications
If you plan to develop an application using a Pervasive PSQL database engine, you need to be aware of the following requirements for distributing your applications:
•
Distribution Rules for Pervasive PSQL
•
Registering Pervasive PSQL ActiveX Files
•
Installing Pervasive PSQL with your Application
Distribution Rules for Pervasive PSQL
After you have developed an application with Pervasive PSQL, you must be aware of the licensing agreement you have with Pervasive to distribute your product. If you have any questions regarding your distribution rights, please contact your Pervasive sales representative.
Registering Pervasive PSQL ActiveX Files
The following table includes the files required to run your application built with Pervasive’s ActiveX interface:
Table 32
Redistributable Files
File
Location
Description
ACBTR732.OCX
System directory
Pervasive PSQL Data Source Control
ACCTR732.OCX
System directory
Pervasive PSQL Bound Controls
PEDTCONV.DLL
System directory
Data conversion DLL
PBTRVD32.DLL
System directory
Meta data handling DLL
SBTRV32.DLL
System directory
IDS communication DLL
SWCOMP32.DLL
System directory
Data compression DLL
Once you have distributed Pervasive PSQL ActiveX files and the required DLLs, you must register the ActiveX files so that they function correctly. There are two ways you can register these files:
•
Many current installation utilities, such as InstallShield, can be modified to automatically register ActiveX controls during the installation process (for more information, refer to the documentation for your particular installation utility).
•
Another way to register ActiveX controls is to install the redistributable file REGSVR32.EXE and run it during (or after) the installation process. This is a simple ActiveX registration utility that takes the name of the ActiveX to be registered as a command-line parameter (e.g., REGSVR32 C:\MyInstall\ACBTR732.OCX).
Installing Pervasive PSQL with your Application
Refer to the
Installation Toolkit Handbook
for information on customizing the Pervasive PSQL installation.