EhLib V5.2.84 安裝方法

安裝方法:

(1)在C:/Program Files/Borland/Delphi7下, 新建目錄Ehlib


(2)將Common和Delphi7中的目錄的文件拷貝到上面的這個目錄中


(3)在Tools->Environment Options->Library->Library Path 中添加這個目錄.


(4)編譯四個dpk文件:EhLib70.Dpk,EhLibDataDrivers70.Dpk,DclEhLib70.Dpk,DclEhLibDataDrivers70.Dpk


(5)在Program Files\Borland\Delphi7\Projects\Bpl文件夾中找到DclEhLib70.bpl,DclEhLibDataDrivers70.bpl文件,在component->Install package菜單中安裝




全文來自:http://blog.csdn.net/xzknet/article/details/1449601

以下爲全文:

安裝文件自帶的Readme.txt中的安裝過程如下:
1. Delphi 5.x - 7.x, Delphi 9.X Win32, BDS2006 Win32:
----------------------------------------------------

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).

Create directory from which you will install EhLib library 
('EhLib directory') (for example, C:/Delphi[X]/EhLib).

Copy files from Common and Delphi[X] | BDS2006 directories of the EhLib 
archive to 'EhLib directory'.

By default Delphi (5, 6 and 7) places compiled files to the 
<Delphi path>/Projects/Bpl directory and this directory already present 
in the search PATH. But if you overwrite default BPL directory then you need
put compiled EhLibXX.BPL file into directory that is accessible 
through the search PATH (i.e. DOS "PATH" environment variable; for example, 
in the Windows/System directory).

Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library->
Library Path (For Delphi 9 in Tools->Options->Environment Options->
Delphi Options->Library - Win32->Library Path).

Use "File/Open..." menu item of Delphi IDE to open the runtime package - 
EhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package.

After that open and compile EhLibDataDriversXX.Dpk.

After compiling run-time packages install design-time
packages DclEhLibXX.BPL and DclEhLibDataDriversXX.BPL into the IDE.

For that use "File/Open..." menu item to open design-time package 
DclEhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register EhLib components on
the component palette.

After that open and install DclEhLibDataDriversXX.Dpk package.

EhLib components have to appear on 'EhLib' page of components palette.

概括來說,步驟如下:

(1)新建文件夾:D:/Program Files/Borland/Delphi7/下新建目錄Ehlib
(2)在Tools->Environment Options->Library->Library Path 中添加這個目錄.
(3)將Common和Delphi7中的目錄的文件拷貝到上面的這個目錄中
(4)打開runtime package - EhLib70.Dpk文件,點擊"Compile"編譯這個package
(5)打開並編譯EhLibDataDrivers70.Dpk
(6)在編譯完run-time packages 後安裝DclEhLib70.BPL和DclEhLibDataDrivers70.BPL
(design-time packages)into the IDE.BPL文件在你自己定義的:$(DELPHI)/Projects/Bpl
(7)打開DclEhLib70.Dpk(design-time package)編譯,然後點擊"Install"to register EhLib
 components on the component palette.]
(8)最後打開和安裝DclEhLibDataDrivers70.Dpk package

這個時候在Ehlib選項卡下可以看見20個Ehlib組件,安裝成功

我的安裝方法:

(1)編譯四個dpk文件:EhLib70.Dpk,EhLibDataDrivers70.Dpk,DclEhLib70.Dpk,DclEhLibDataDrivers70.Dpk

(2)在bpl文件夾中找到DclEhLib70.bpl,DclEhLibDataDrivers70.bpl文件,在Install package菜單中安裝

OK!!

接下來安裝幫助文件:
Installation Help
-----------------
Copy the EhLib.hlp and EhLib.cnt files to the Delphi HELP subdirectory.
Select Help|Customize to start the OpenHelp application. Add the EhLib.cnt 
file to the Contents page, add the EhLib.hlp file to the Index and Link pages.
比較簡單,這裏不在贅述.
我安裝完之後,測試了一下Delphi的幫助文件,發現根本找不到原來的TDBGrid組件的幫助

初步估計是這兩個文件破壞了原來的幫助文件,建議大家要用時直接打開,不用安裝幫助文件
了.


發佈了126 篇原創文章 · 獲贊 24 · 訪問量 31萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章