delphi 7中的安装方法  1. 把 EhLib 中的 common 和 DataService 文件拷贝到 Delphi7 目录中.
  2.在 TOOLS->Environment Options->Library->Library Path 中添入EHLIB路径。
  3.打开新建文件夹中的 EHLIB70.DPK ,编译一下,但不要安装。
  4.打开Ehlib中的DclEhLib70.DPK,编译,安装 
  5. 在Delphi 7中打开DclEhLib70.dpk,编译并安装。
  6. 组件面板中出现一个EhLib的组件页。
  7. 打开附带的DEMOS,编译并运行,测试安装成功。
我是按照这个方法安装的,可是为什么按照他的3.4步做的编译会出错啊!也不是下载的文件的问题,下过了两个了!

解决方案 »

  1.   

    我想用个时间控件,但是可以连接数据库的,可以通过datasource把数据集里的时间传过来。
      

  2.   

    直接双击DclEhLib70.DPK,在单击安装
      

  3.   

    [Fatal Error] EhLib70.dpk(59): File not found: 'DBSumLst.dcu'
    [Warning] DclEhLib70.dpk(4): File not found: 'EhLibReg.dcr'
    这样会出错
      

  4.   

    我正在为些事困扰:::::::::
    都按照上面说的做了,
    指向文件所在的目录了
    可还是提示:[Fatal Error] EhLib70.dpk(59): File not found: 'DBSumLst.dcu'
    错误行在:  GridsEh in 'GridsEh.pas';请各位帮帮忙吧
      

  5.   

    唉....楼主这样吧...你把Ehlib所有文件,拷贝到delphi目录下的bin中即可..
      

  6.   

    http://www.2ccc.com/article.asp?articleid=3294用这个版本的,我装了,没有问题
      

  7.   

    其实是路径问题,你应该把common下的文件和delphi7下的文件拷贝到同一个目录就可以了,我想你是这一步骤出错了
      

  8.   

    你们可以把那一个COmmon的文件拷到那一个delphi下面的lib里面就可邓。主要的是路径
    出错
      

  9.   

    我也遇到同样问题,期待解决。按论坛里好多人都在用Enlib,知道如何安装的人一定不少,请高手们回答一下啊
      

  10.   

    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.
      

  11.   

    把以前装的东西在注册表里的信息全部删掉,把DELPHI也删掉,一切重新装。
      

  12.   

    我前几天刚装好。挺好用,可以从ehdbgrid直接导入到excel文件中。效率很高。
    我的经验是双击dpk文件,弹出对话框,点install,提示安装完成。工具栏出现。
    将ehlib中,使用的组件的dcu、pas、dfm文件拷贝到程序执行文件目录下。然后,编译。
    ok,成功。
      

  13.   

    在项目菜单的option里的目录项目里指定目录路径就行。