请教ehlib引用ADODataDriverEh的问题

秋天之落叶 2017-02-01 09:20:35
win10环境,delphi2010,安装ehli,8.0,显示成功,显示自己引用控件正常。
浏览ehlib的\Components\EhLib\Demos\MainDemo,编译正常,运行正常。(里面含ADODataDriverEh)
浏览\Components\EhLib\Demos\PlannerEh.MainDemo,编译出错:
connot resolve unit name 'ADODataDriverEh' at line 20
undeclared identifier 'TADOConnectionProviderEh' at line 34
‘ADOConnectionProviderEh’ does not contain a member named 'inlineconnection' at line 203
......

错误提示:
[DCC Fatal Error] Unit1.pas(20): F2084 Internal Error: U2186

信息提示都差不多,主要集中在ADODataDriverEh,ADOConnectionProviderEh1: TADOConnectionProviderEh,ADOConnectionProviderEh1.InlineConnection.ConnectionString,

百度很多信息,均无可行方法,还请高手赐教!
...全文
531 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
秋天之落叶 2017-02-12
  • 打赏
  • 举报
回复
解决方法: 安装VS2015时,出现了问题,导致输入法和win10的冲突,显示属性不一致问题,用了很多方法不能解决,干脆,重装系统。 安装delphi2010简版,安装ehlib8.2.017版本,见证奇迹的时刻,竟然所有的demos全部编译通过,厉害了我的主。 看来还是注册表的问题,经常安装一些大的软件,注册表被经常修改的面目全非,多半是这个原因,呵呵。 兴奋中,研究demos去了,哈哈
秋天之落叶 2017-02-03
  • 打赏
  • 举报
回复
引用 2 楼 lyhoo163 的回复:
Demo中使用的的版本不一样,也会造成此错误。
理论上8.0版本自带的demos,应该可以适应的,版本说明中也写到了,适用于delphi07 09 10的,晕菜。 不过有的能用,有的不能用,也有可能是版本问题,嘿嘿 不知道能不能解决? delphi也没落了?来的人不多了啊!
lyhoo163 2017-02-03
  • 打赏
  • 举报
回复
Demo中使用的的版本不一样,也会造成此错误。
秋天之落叶 2017-02-01
  • 打赏
  • 举报
回复
检查了路径声明定义,两个是一样的,为什么一个行一个不行?晕死 两段代码一样: unit Unit1; {$I EhLib.Inc} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, {$IFDEF EH_LIB_7} {$IFNDEF EH_LIB_16} XPMan, {$ENDIF} {$ENDIF} {$IFDEF CIL} Types, System.ComponentModel, Variants, System.Runtime.InteropServices, {$ELSE} {$ENDIF} {$IFDEF EH_LIB_16} Themes, {$ENDIF} Dialogs, Buttons, ExtCtrls, ComCtrls, ToolWin, DBGridEh, Menus, DataDriverEh, ADODataDriverEh, EhLibVCL,
EhLib 5.0 Build 5.0.13 Russian version. Full source included. ------------------------------------------------------------------- The Library contains components and classes for Borland Delphi versions 5, 6, 7, 8 & 9 , Borland C++ Builder versions 5 & 6, Borland Developer Studio 2006, CodeGear Delphi 2007, CodeGear RAD Studio 2009 and Embarcadero RAD Studio 2010. TABLE OF CONTENTS ----------------- Overview Installation Library Installation Help Demonstration Programs Registering and Prices Other information About author Overview -------- The Library contains several components and objects. TDBGridEh component TDBGridEh provides all functionality of TDBGrid and adds several new features as follows: Allows to select records, columns and rectangle areas. Special titles that can correspond to several/all columns. Footer that is able to show sum/count/other field values. Automatic column resizing to set grid width equal client width. Ability to change row and title height. Allows automatic broken of a single line long title and data row to a multiline. Title can act as button and, optionally show a sort marker. Automatically sortmarking. Ability to truncate long text with ellipsis. Lookup list can show several fields. Incremental search in lookup fields. Frozen columns. DateTime picker support for TDateField and TDateTimeField. Allows to show bitmaps from TImageList depending on field value. Allows to hide and track horizontal or vertical scrollbars. Allows to hide columns. Allows to show 3D frame for frozen, footer and data rows. Allows to draw memo fields. Multiline inplace editor. Proportional scrolling independently of sequenced of dataset. Automatically show checkboxes for Boolean fields. Allows to show checkboxes for other type of fields. Has a procedures to save and restore layout (visible columns, columns order, columns width, sortmarkers, row height) in/from registry or

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧