ODAC

Installation

This topic contains the environment changes made by the ODAC installer. If you are having problems with using ODAC or compiling ODAC-based products, check this list to make sure that your system is properly configured.

Compiled versions of ODAC are installed automatically by the ODAC Installer for all supported IDEs except for Lazarus. Versions of ODAC with Source Code must be installed manually. Installation of ODAC from sources is described in the supplied ReadmeSrc.html file.

Table of Contents

  1. Before installing ODAC
  2. Installed packages
  3. Environment Changes
  4. Installation of Additional Components and Add-ins
  5. Uninstalling

Before installing ODAC ...

Please read our Compatibility page and make sure that your system satisfies the requirements.

Two versions of ODAC cannot be simultaneously installed for the same IDE, and, since the Devart Data Access Components products have some shared bpl files, newer versions of ODAC may be incompatible with older versions of MyDAC, IBDAC, and SDAC.

So before installing a new version of ODAC, uninstall any previous version of ODAC you may have, and check if your new install is compatible with other Devart Data Access Components products you have installed. For  more information please see Using several products in one IDE. If you run into problems or have any compatibility questions, please email [email protected]

Note: You can avoid performing ODAC uninstallation manually when upgrading to a new version by directing the ODAC installation program to overwrite previous versions. To do this, execute the installation program from the command line with a /force parameter (Start | Run and type odacXX.exe /force, specifying the full path to the appropriate version of the installation program).

Installed packages

Note:%ODAC% denotes the path to your ODAC installation directory.

Delphi/C++Builder Win32 project packages

Name Description Location
dacXX.bpl DAC run-time package Windows\System32
dcldacXX.bpl DAC design-time package Delphi\Bin
dacvclXX.bpl* DAC VCL support package Delphi\Bin
odacXX.bpl ODAC run-time package Windows\System32
dclodacXX.bpl ODAC design-time package Delphi\Bin
odacvclXX.bpl* VCL support package Delphi\Bin
oraprovXX.bpl TOraProvider component Delphi\Bin
crcontrolsXX.bpl TCRDBGrid component Delphi\Bin

Additional packages for using ODAC managers and wizards

Name Description Location
datasetmanagerXX.bpl DataSet Manager package Delphi\Bin
oramigwizardXX.dll ODAC BDE Migration wizard %ODAC%\Bin

Environment Changes

To compile ODAC-based applications, your environment must be configured to have access to the ODAC libraries. Environment changes are IDE-dependent.

For all instructions, replace %ODAC% with the path to your ODAC installation directory

Delphi

The ODAC Installer performs Delphi environment changes automatically for compiled versions of ODAC.

C++Builder

C++Builder 6:

C++Builder 2006 and higher:

The ODAC Installer performs C++Builder environment changes for compiled versions of ODAC automatically.

Lazarus

The ODAC installation program only copies ODAC files. You need to install ODAC packages to Lazarus IDE manually. Open %ODAC%\Source\Lazarus1\dclodac10.lpk (for Trial version %ODAC%\Packages\dclodac10.lpk) file in Lazarus and press the Install button. After that Lazarus IDE will be rebuilded with ODAC packages.

Do not press the Compile button for the package. Compiling will fail because there are no ODAC sources.

To check that your environment has been properly configured, try to compile one of the demo projects included with ODAC. The ODAC demo projects are located in %ODAC%/Demos.

Installation of Additional Components and Add-ins

TOraProvider

If you use Delphi Enterprise Edition, Delphi Architect Edition, or C++Builder Enterprise Edition, you can install the TOraProvider component by compiling and installing the oraprovXX.bpk package.

DBMonitor

DBMonitor is a an easy-to-use tool to provide visual monitoring of your database applications. It is provided as an alternative to Borland SQL Monitor which is also supported by ODAC. DBMonitor is intended to hamper an application that is being monitored as little as possible. For more information, visit the DBMonitor page online.

Uninstalling

To uninstall the Compiled versions of ODAC, select Settings -> Control Panel -> Add or Remove Programs from the Start menu (Windows XP and earlier) or select Control Panel from the Start menu and click Uninstall a program in the Control Panel window (Windows Vista and higher). Then select ODAC from the installed software list and click Uninstall (Windows XP and earlier) or Uninstall/Change (Windows Vista and higher).

Delphi and C++Builder

To uninstall Source versions of ODAC, select Install Packages... from the Components menu and remove the following packages:

Lazarus

To uninstall Source versions of ODAC, start the IDE, select Install/Uninstall Packages from the Packages menu, and remove the following packages.

After removing packages, you must also remove all the *dac*.* files from the Windows\System32, Delphi\Bin and delete the %ODAC% folder.

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback