各位:有谁在D7里安装过Ehlib3.4?我刚下载但在安装时编译过不去,好多东西未定义或说找不到.安装成功过的介绍一下好吗?

解决方案 »

  1.   

    1、Installation Library(库文件的安装)
    =======================================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).
    从Delphi的开发环境中卸载EhLib的前期或评估版本。移除或者备份旧版本的目录文件,以防新旧版本发生冲突(包括EhLib.bpl,EhLib.dcp,EhLibXX.bpl, EhLibXX.dcp)。 Create directory from which you will install EhLib library 
    ('EhLib directory') (for example, C:\Delphi[X]\EhLib).
    为你的EhLib库(EhLib目录)创建一个新的文件夹(例如,C:\Delphi[X]\EhLib)。Copy files from Common and Delphi[X] directories of the EhLib archive
    to 'EhLib directory'.
    从EhLib档案文件的Common和Delphi[X]两个文件夹中复制所有文件到刚刚创建的“EhLib目录”下。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.
    利用Delphi应用程序开发环境中的“文件-->打开”菜单项,打开运行时包EhLibXX.Dpk。
    在“包...“窗口中,单击“编译”按钮,编译这个包。
    这一步只编译,不安装!!After compiling run-time package you must install design-time
    package DclEhLibXX.BPL into the IDE.
    编译完了运行时包后,你必须安装设计期包DclEhLibXX.BPL到Delphi的开发环境中去。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. 
    同样,利用Delphi应用程序开发环境中的“文件-->打开”菜单项,打开设计期包DclEhLibXX.Dpk。
    在“包...”窗口中,单击“编译”按钮编译这个设计期包,然后单击“安装”按钮注册该EhLib组件到组件面板上去。EhLib components have to appear on 'EhLib' page of components palette.
    至此,如果没有错的话,EhLib系列组件应该显示在组件面板的“EhLib”页上了。2、Installation Help(帮助文件的安装)
    ======================================Copy the EhLib.hlp and EhLib.cnt files to the Delphi HELP subdirectory.
    Select Help|Customize to start the OpenHelp application. Add the EhLib.cnt 
    file to the Contents page, add the EhLib.hlp file to the Index and Link pages.
    复制EhLib.help和EhLib.cnt两个文件到Delphi的HELP子目录下。
    在Delphi的开发环境中,选择“Help(帮助)|Customize(自定义)”菜单项,打开帮助应用程序。
    然后,添加EhLib.cnt文件到Contents(目录)页,添加EhLib.hlp文件到Index(索引)和Link(链接)页。
      

  2.   

    我在delphi 6.0 里安装过
      

  3.   

    使用时注意,直接将EhLib组件托放到窗体上编译运行可能不会通过,会报错。
    这时,通过菜单项“Project(工程)-->Options(选项)”打开“选项对话框”。
    定位到“Packages(包)”页,选中下面的“Build with runtime packages”项就可以了。
      

  4.   

    这是别人的,给你参考  
      1、建一个空文件夹,比如EHLIB,把D7下的所有文件和COMMON下的所有文件复制进去。
        2、打开新建文件夹中的EHLIB70.DPK,Compiler,注意:别按INSTALL。
        3、在TOOLS->Environment Options->Library->Library Path中添入EHLIB(就是新建的那个文件夹)的
    路径。
        4、打开Ehlib中的DclEhLib70.DPK,Compiler,Install(这次要按了,因为这个是Design-Time包,上次那
    个是Runtime包。)
    5、安装完成。
      

  5.   

    回复人: fffddd(杀我者死) ( ) 信誉:84  2005-01-22 20:49:00  得分: 0  
    有这么复杂吗?直接安装就可以了呀。
     
    这位fffddd真的是垃圾, 老是在乱吹按 yuvotesyg518(小不点) 的方法安装就行了,关键是要这一步为你的EhLib库(EhLib目录)创建一个新的文件夹(例如,C:\Delphi[X]\EhLib)。
    从EhLib档案文件的Common和Delphi[X]两个文件夹中复制所有文件到刚刚创建的“EhLib目录”下。
      

  6.   

    我按几位说的做了,但还是过不去.有一个单元文件PrvformEh.pas中用到了PreviewEh1,这PreviewEh1i不就是Ehlib控件包中组件之一吗?可控件包还没安上呢怎么就用呀?我把这个单元文件和窗体文件从Ehlib7D.dpk中去掉编译也不行,这该如何是好?
      

  7.   

    我下了一个Ehlib3.3版的安装没问题,3.4版中的那个PreviewEh1是不是FastReport中的,我没安FR