Installing

AdminAbout 2 min

Installing

Below it will be described how to install EhLib under Delphi XE12.

Unpack EhLib archive.

After unpacking you will have next list of directories:
Directories of the library archive:

Installer
Constains EhLibInstaller.exe

Common
Contain source files which are common for all versions of Delphi and C++ Builder.

RADStudio2009
Contain source files which are specific for RAD Studio 2009.

RADStudioXXXX
Contain source files which are specific for RAD Studio XXXX.
Demos
Demonstration projects
Bin
Contains the compiled executables major demonstration projects. (Contains files only in the editorial - EhLib Evaluation)
Data
Contains the database files for the demonstration projects.
LangResources
Contain resource files for various languages.
DataDrivers
Contains additional components that inherit from TDataDriverEh generators to support data access third party.
DataService
Contain files that contain objects that allows to sort data in various types of datasets.
Orders
Contain text files in which described how to register  various versions of EhLib.
HLP
Contain help Files and Documentation.

Installing packages.

Automatic installing:

Run Installer\EhLibInstaller.exe program from EhLib archive to install library in Delphi/C++ Builder IDE automatically. In time of installation the program creates folder, copies files, compile required packages and registers packages in the IDE.

Manual installing:

Here is described how to install the library in RAD Studio XE12. Installation in other versions of Delphi is performed by analogy.

Uninstall previous or evaluation version of EhLib (Old version) from Delphi IDE. Remove or copy to other directory files of old version to prevent crossing old and new version of EhLib (Including EhLib.bpl, EhLib.dcp or EhLibXX.bpl, EhLibXX.dcp, EhLibDataDriversXX, DclEhLibDataDriversXX files). These files can be located in the following folders on your computer C:\Users\All Users\Documents\RAD Studio\1X.0C:\Users\All Users\Documents\Embarcadero\Studio\XX.0\BplC:\Users\All Users\Documents\Embarcadero\Studio\XX.0\Dcp

Create, if necessary, a new folder "EhLib" folder with a Delphi (for example, C:\ RADStudio\12.0\Components\EhLib). Hereinafter this folder will be call as EhLib folder.

Create new subfolder "Lib" in the "EhLib folder". Copy files from folders Common, RADStudioXE12 and LangResources\Res of EhLib archive into the folder [EhLib folder]\Lib as that all files were in one folder - Lib.

Run RAD Studio IDE and Open EhLibProjGroup290.groupproj file from [EhLib folder]\Lib. Compile all packages of Prject Group.

Start Delphi and open (File\Open ...) project group EhLibProjGroup190.groupproj. Compile all group packages (Project \ Build All Projects).

Install all the packages in the IDE, which begin on Dcl______ (Use Project/Install menu).

Components EhLib appear in the pages of EhLib Controls and EhLib Components component palette.

Consistently compile packages EhLibXXX.Dpk and EhLibXXXDataDriversXXX.Dpk in next modes:

  • Win32\Debug
  • Win64\Release
  • Win64\Debug

After compilation there should be created subfolders a Win32\Release, Win32\Debug, Win64\Release, Win64\Debug in the [EhLib folder]\Lib folder.

Copy the *.dfm and *.res files from the [Folder EhLib]\Lib folder into the each of the next folders: Win32\Release, Win32\Debug, Win64\Release, Win64\Debug

In the RAD Studio IDE add next paths:

  • [EhLib folder]\Lib\Win32\Release path in the Library path for the Win32 platform.
  • [EhLib folder]\Lib\Win32\Debug path in the Debug dcu for the Win32 platform.
  • [EhLib folder]\Lib\ path in the Browsing path for the Win32 platform.

:

  • [EhLib folder]\Lib\Win64\Release path in the Library path for the Win64 platform.
  • [EhLib folder]\Lib\Win64\Debug path in the Debug dcu for the Win64 platform.
  • [EhLib folder]\Lib\ path in the Browsing path for the Win64 platform.
Last update:
Contributors: dmitrybv