Installing
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
Common
RADStudio2009
RADStudioXXXX
Demos
Bin
Data
LangResources
DataDrivers
DataService
Orders
HLP
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.0
C:\Users\All Users\Documents\Embarcadero\Studio\XX.0\Bpl
C:\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 theLibrary path
for theWin32 platform
.[EhLib folder]\Lib\Win32\Debug
path in theDebug dcu
for theWin32 platform
.[EhLib folder]\Lib\
path in theBrowsing path
for theWin32 platform
.
:
[EhLib folder]\Lib\Win64\Release
path in theLibrary path
for theWin64 platform
.[EhLib folder]\Lib\Win64\Debug
path in theDebug dcu
for theWin64 platform
.[EhLib folder]\Lib\
path in theBrowsing path
for theWin64 platform
.