写了一个包ExLibX2,在编译时提示必须加入 adortl.dcp 如图:新建一个工程,拖一个ExLib中的任意一控件到窗体上,设置Options-Runtime Packages =True
F9运行,提示如下错误:
E2199 Packages 'adortl' and 'ExlibX2' both contain unit 'Data.Win.ADODB'
E2199 Packages 'adortl' and 'ExlibX2' both contain unit 'Data.Win.ADOConst'如下图:
F9运行,提示如下错误:
E2199 Packages 'adortl' and 'ExlibX2' both contain unit 'Data.Win.ADODB'
E2199 Packages 'adortl' and 'ExlibX2' both contain unit 'Data.Win.ADOConst'如下图:
解决方案 »
- ◆◆◆超低价转让自己不用的二手书◆◆◆谁看看,有没有用的着的
- 问题解决就给分!!!!
- 同样的问题,再放200分,分太多了!
- 如何简单的汉化一个windows应用程序的英文菜单
- dbedit控件问题!
- FLASH的文件格式是什么样的?用DELPHI的什么控件能打开呢?
- 请教Delphi 文件处理(关于文档格式、变长结构体在文件中存取、文档中回车换行处理)
- 在dbgrid中,如何得知每条纪录相对于屏幕的位置??
- 在DELPHI中调用带有日期型参数的存储过程,很急,帮帮忙!!100分送上
- 密码密码忘掉了!!.db数据库中的G类型字段下存入了密码,现在密码忘了,能不能转换成一般文字?比如转到edit.text中?好象不容易转换。请各位大虾help!
- adoquery.fieldByName('ip').asString,找不到'ip'这个字段
- delphi中提示A class named TfrxDMPPage already exists该如何解决
E2199: Packages '%s' and '%s' both contain unit '%s' (Delphi)
The project you are trying to compile is using two packages which both contain the same unit. It is illegal to have two packages which are used in the same project containing the same unit since this would cause an ambiguity for the compiler. A main cause of this problem is a poorly defined package set. The only solution to this problem is to redesign your package hierarchy to remove the ambiguity.翻译:
您尝试编译该项目使用的是两个包都包含相同的单位。这是非法的,有两个包包含同一单位在同一项目中所使用的编译器,因为这会引起歧义。 这个问题的一个主要原因是不良的定义的程序包集。 这个问题,唯一的解决办法是重新设计包的层次结构中删除的模糊性。SO,你的包的设计有问题。
我估计你不小心改掉原本adortl了吧。
尝试在一个全新的环境下再试试。