1、运行Installer\EhLibInstaller.exe。install。
2、ide下,打开Embarcadero\RAD Studio\9.0\Components\EhLib\Lib\EhLibProjGroup160.groupproj,运行 project/build all project。此处如果xe2安装不完全,会出现编译错误提示。比如ibexpress编译错误提示,是因为没有安装interbase express。
3、安装DclEhLib160.Dpk and DclEhLibDataDrivers160.Dpk。
DclEhLib160.Dpk安装方法:双击DclEhLib160.Dpk,在ide的project manager面板中,右击DclEhLib160.bpl,install。
DclEhLibDataDrivers160.Dpk的安装方法同上。
4、用下面的模式编译 packages EhLibXX.Dpk 和 EhLibDataDriversXX.Dpk:
Win32\Debug
Win64\Release
Win64\Debug
我编译EhLibXX.Dpk 的时候,出现提示:......is already registered......,先不管。我怀疑这一步是否可以不做呢?
下载ehlib5.6:http://download.youkuaiyun.com/detail/bq_cui/4434035