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.do
S "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.
这是EHLIB3的安装说明,里面也没讲要加DataService目录里的东东
楼主难道Ehlib没有DataService目录吗?
将下面的文件Copy到源文件目录下就可以了
刚才我出错正是因为旧版本的路径未去除造成的 ,呵呵