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 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] directories of the EhLib archive to 'EhLib directory'.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.By default Delphi (5, 6 and 7) place compiled EhLibXX.BPL file 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.After compiling run-time package you must install design-time package DclEhLibXX.BPL into the IDE.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. EhLib components have to appear on 'EhLib' page of components palette.
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 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] directories of the EhLib archive
to 'EhLib directory'.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.By default Delphi (5, 6 and 7) place compiled EhLibXX.BPL file 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.After compiling run-time package you must install design-time
package DclEhLibXX.BPL into the IDE.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. EhLib components have to appear on 'EhLib' page of components palette.
1。编译EhLibXX.Dpk 文件。
2。Tools->Environment Options->Library->Library Path. 把Library Path添加进去
3。安装 DclEhLibXX.BPL
Ehlib3.0的安装方法:
Ehlib的安装只要掌握了方法,非常容易;一般情况下,控件在制作成包的时候,为了能够在不同的Delphi版本中安装,分成了公共包和版本包;举个例子来说,在Delphi7下面安装步骤如下:
1、 我们把common和Delphi7目录下的文件拷贝在同一个目录下面(我一般把common文件夹里面的内容拷贝在Delphi7下面,安装其他版本也不会产生其他的问题!);
2、 在Delphi7中打开包文件,File\Open->找到Ehlib3\Delphi\Ehlib70.dbk和DclEhlib70.dbk
3、 先Complie(编译)DclEhlib70.dbk,然后编译Ehlib70.dbk,然后再Install(安装)Ehlib70.dbk;完毕之后会有一个确认对话框,确定即可;
4、 不过,这个时候虽然在组件面板会有Ehlib组件,但是还不能正常运行,这个时候我们需要设置他的源文件路径:Tools\Environment Options,找到library,在library path处单击省略号按钮,在Greyed Items denote invalid path 下面右侧的省略号按钮,选择Ehlib3\Delphi\Ehlib70.dbk所在的路径即可,然后单击[Add]按钮,然后一路确定;
5、 好了,Ehlib3安装成功!