怎样安装EhLib控件!

robin0347 2003-07-04 02:49:00
我需要一个多表头的dbgrid,因此用到了EhLib,但是安装时提示“[Fatal Error] EhLib60.dpk(50): File not found: 'DBSumLst.dcu'”,“[Warning] DclEhLib60.dpk(4): File not found: 'EhLibReg.dcr'
[Fatal Error] EhLib60.dpk(50): File not found: 'DBSumLst.dcu'”
应该怎样安装才正确?
...全文
231 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
robin0347 2003-07-04
  • 打赏
  • 举报
回复
SmallHand(火龍) :在运用你的方法进行安装时出现提示“ehlib30.bpl can't be installed because it is not a design time package”这是什么原因呢???
robin0347 2003-07-04
  • 打赏
  • 举报
回复
能说得再详细些吗?
xuejinlong 2003-07-04
  • 打赏
  • 举报
回复
不是有一个Readme.txt嘛?
--------------------
Installation Library
--------------------

1. Delphi 4.x - 7.x:
--------------------

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.
火龙岛主 2003-07-04
  • 打赏
  • 举报
回复
一、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安装成功!
Means_pan 2003-07-04
  • 打赏
  • 举报
回复
把安装目录的内容复制到delphi6.lib目录下
dudunono 2003-07-04
  • 打赏
  • 举报
回复
对了 不要忘记不你的EhLib的公共单元文件路径加载到 DELPHI的编译路径里面
dudunono 2003-07-04
  • 打赏
  • 举报
回复
直接运行 PACKAGE 文件编译 然后安装 就可以了 没有什么问题了
fyje 2003-07-04
  • 打赏
  • 举报
回复
1、把Common里面的内容复制到delphi6目录下,重新安装,或者
按步骤2把common路径也加进去
2、把路径加到环境中去:delphi/tools/environment options/library/library path

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧