公司电脑上有个EHlib控件。。但是家里的电脑没有。。想安装个。可是怎么都安装不了非常不理解。。网上搜索了好多。。说吧common文件夹放到Ehlib 的delphi7中,然后在delphi的tool…………library path中添加Ehlib中delphi7的目录。。我都搞定了。。可是当我双击 EhLib70.dpk打开后。。按F9编译。。却提示我 file not found :'DBSumLst.duc'我找了半天没找到这个文件。。而我在网上下了好几个Ehlib都是没有这个文件的。。非常不理解。到底是我安装出错了还是下过来的本身有问题请解决过类似情况的朋友帮帮忙。。谢谢。。或者发一个有'DBSumLst.duc'这个文件的Ehlib for delphi7的给我谢谢了我的Ehlib是在51delphi中下的。。我看别人都能使用。。不明白。可能我的技术不行吧
需要library path中加入common目录,
或者是把common目录中的内容拷贝到delphi7目录中。
需要library path中加入Delphi7 所在路径 即可
----------------------------------------------------------------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.EhLib 4.2.12 中文汉化版 (OneFly.org 修改版)
1.添加D7路径
2.编译EhLib7.Dpk
3.编译EhLibDataDrivers7.Dpk
4.编译并安装DclEhLib7.Dpk
5.安装DclEhLibDataDrivers7.Dpk此版本是根据网上的 EhLib 4.2.12 原版汉化修改而来,只汉化了文件内容,未改变原版的目录结构,所以安装时请按照原版 Readme 文件中的安装方法安装,将 Common 目录中的内容拷贝到 Delphi(X) 目录,然后安装 Delphi(X) 目录中相应的 .dpk 文件即可。
我的EhLib_4.1.4是在51delphi上下的
To install files from self-extracting EhLib archive follow next instructions: 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. 按readme.txt说明操作就是了.
我的是在delphi园地下载的
Delphi园地 http://www.DelphiFans.com
因为编译的EhLib70.dpk时用到EhLib控件用到了'DBSumLst.duc',而你下载安装的EhLib版本没有。说白了就是版本对应不上出现这种情况 应该是你运行你公司项目时报的提示吧???你找对控件版本就ok 安照楼上的配置一下路径就好了
EhLib70
EhLibDataDrivers70编译安装
DclEhLib70
DclEhLibDataDrivers703.将common 路径添加到delphiok