我从51delphi.com下载的控件包Ehlib怎么装不上去呢?请提供详细步骤谢谢!
解决方案 »
- 怎么获取DBGridEh某一单元格的值?
- 向.txt文件写数据时提示错误,不知什么原因
- 使用 Rave 控件打印到针式打印机
- 求助
- 请教,我用的是RichEdit控件 ,我怎么样把它存成纯文本格式?急。
- 怎么才能让自己定义的文件在打开时自动调用自己的程序?(在线等...)
- 线程间同步有哪些方法?各有什么特点??
- count(*)的返回值问题
- Delphi写的DLL,函数参数中有Record类型,在把此DLL注册为COM时对应的参数类型是什么?
- 我有一无牌无标识的刻录机,大概是99年买的,不知是否有办法找到其驱动程序?
- combox空间中用鼠标点击 "倒三角" 的事件是什么? 怎么用代码实现>?
- EhLib3.0安装不上去,出现错误
2. 打开 EhLib60.dpk ,‘Compile’
3. 打开 DclEhLib60.dpk ,‘Install’
4. 在‘Library Path’中加上 ..\Delphi6 这个目录。readme文件中的内容:
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).
卸载先前版本的ehlibxx以及把(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).
创建你要安装ehlib库的目录(如: C:\Delphi[X]\EhLib)Copy files from Common and Delphi[X] directories of the EhLib archive
to 'EhLib directory'.
把 common 和 delphi[X]拷贝到ehlib文件夹Use "File\Open..." menu item of Delphi IDE to open the runtime package -
EhLibXX.Dpk.
使用"file\open.."打开运行时包EhLibXX.Dpk.In "Package..." window click "Compile" button to compile the package.
在 "Package"点击Compile编译包文件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 (
默认情况下Delphi (5, 6 and 7) 会把编译过的包文件放在<Delphi path>\Projects\Bpl 目录下,而且这个目录已经在搜索目录中了;但是如果你要覆盖默认bpl目录,你需要把编译过的EhLibXX.BPL 文件放在通过搜索可能存储的目录里,i.e. DOS "PATH" environment variable; 例如: 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.
然后编译运行期包,你必须安装设计期包DclEhLibXX.BPL 到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.
用"File\Open..." 菜单项打开设计期包DclEhLibXX.Dpk 并且单击Compile,接着单击Install注册组件EhLib 到组建面板当中EhLib components have to appear on 'EhLib' page of components palette.
成功安装!
祝贺你成功!