Distributing and Registering Pervasive PSQL ActiveX Files
For information about distributing your Pervasive PSQL application, see
Distributing Pervasive PSQL Applications
in
Pervasive PSQL Programmer's Guide
.
The following table includes the files required to run your application built with Pervasive’s ActiveX access method:
Table 6
Redistributable Files
File
Location
Description
ACBTR732.OCX
file_path
\PSQL\bin\
Pervasive PSQL Data Source Control
ACCTR732.OCX
file_path
\PSQL\bin\
Pervasive PSQL Bound Controls
PEDTCONV.DLL
file_path
\PSQL\bin\
Data conversion DLL
PBTRVD32.DLL
file_path
\PSQL\bin\
Meta data handling DLL
For default locations of Pervasive PSQL files, see
Where are the Pervasive PSQL files installed?
in
Getting Started With Pervasive PSQL
.
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).