DesignEditors单元编译出错,delphi6 vcl高手请进! implementationuses DesignConst, Consts, RTLConsts, Contnrs, Proxies;提示Proxies.dcu没找到! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在包中加入DesignIde.dcu,在Delphi的lib目录下。 DesignEditors单元 是下面这样的implementationuses DesignConst, Consts, RTLConsts, Contnrs, Proxies;可提示Proxies.dcu没找到!Proxies.dcu在那呢?为什么会这样? 难道是我的delphi6有问题!大家帮忙给试试,高手都上哪去了? 我也遇到过,不过是一个设计期控件引进来的,在运行其用不到。你把这个单元从你的uses中删掉,看看哪个控件的声明出错。如果它是在运行期用不到了,从你的窗体中删掉就是了。 因为Proxies已经被编译到Designide.dcp文件中,在相关目录中根本就找不到此相关文件,在Package中引用Designide.dcp文件即可。由于此部分文件只是在设计期间才有效,所以不要在运行期间引用DesignIntf.pas和DesignEditors.pas,否则依然会出现找不到Proxies.dcu文件的问题。 DesignEditors单元 是下面这样的implementationuses DesignConst, Consts, RTLConsts, Contnrs, Proxies;可提示Proxies.dcu没找到!Proxies.dcu在那呢?为什么会这样?你安装的是第三方控件吧!安装完毕之后你必须设置路径信息;tools\enviroment option\library在library path中添加你控件的目录,browsing path同样如此,或者你把你的控件放在和delphi控件相同的目录中。 贴过N次了,为什么提问前不搜索一下呢?这个问题是D6及D7才有的,原因及解决方法如下文(英文站点,看晕了)http://community.borland.com/article/0,1410,27717,00.html 不改包,直接改Delphi源文件的解决方法:(我是这样改的,没有出什么问题)1.加入搜索路径C:\Program Files\Borland\Delphi7\Source\ToolsAPI2.打开C:\Program Files\Borland\Delphi7\Source\ToolsAPI\DesignEditors.pas3.找到并把uses Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus,Proxies;改为uses Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus{,Proxies};4.找到并把 if (FAncestor = nil) and (Component <> Designer.Root) and IsProxyClass(Component.ClassType) then改为 if (FAncestor = nil) and (Component <> Designer.Root) {and IsProxyClass(Component.ClassType)} then5.找到并把 while IsProxyClass(ComponentClass) do改为 //while IsProxyClass(ComponentClass) do6.保存,编译运行,OK上面3.4.5.就是把Proxies单元从DesignEditors单元中剔除,DesignEditors单元中只有两个地方引用了Proxies单元的函数,而且是同一个函数:IsProxyClass,把这两个地方注释掉就可以了. 我来说我是怎么解决的吧我以前也遇到过这种问题我发现在 C++ Builder 6 里面可以搜索到Proxies.dcu,你复制一份 大家看看这篇文章吧!http://www.delphiboy.com/cgi-bin/doc/datacontent.php?no=262 请教有关dbExpress连接firebird数据库的问题 Delphi 好还是C C++ java 好呢 请问用delphi 怎么将TIF 文件合并成PDF 有关ADOQuery的参数传递问题 求教! oracle中的嵌套表怎么使用? 系统端口监测 高分求:SQLDMO在DELPHI中如何应用? 求Dephi7设计电子地图方法? 请问如何用代码得到桌面上任一图标的文本内容,不知道ListView_GetItemText这么用???? 请教:怎样使project1.exe C:\a.txt能打开a.txt这个文件? 有变量n,怎么样动态的建n个label? 概念性问题!!
implementationuses DesignConst, Consts, RTLConsts, Contnrs, Proxies;
可提示Proxies.dcu没找到!
Proxies.dcu在那呢?为什么会这样?
implementationuses DesignConst, Consts, RTLConsts, Contnrs, Proxies;
可提示Proxies.dcu没找到!
Proxies.dcu在那呢?为什么会这样?你安装的是第三方控件吧!
安装完毕之后你必须设置路径信息;
tools\enviroment option\library
在library path中添加你控件的目录,browsing path同样如此,或者你把你的控件放在和delphi控件相同的目录中。
http://community.borland.com/article/0,1410,27717,00.html
不改包,直接改Delphi源文件的解决方法:(我是这样改的,没有出什么问题)
1.加入搜索路径
C:\Program Files\Borland\Delphi7\Source\ToolsAPI
2.打开
C:\Program Files\Borland\Delphi7\Source\ToolsAPI\DesignEditors.pas
3.找到并把
uses
Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus,Proxies;
改为
uses
Types, SysUtils, Classes, TypInfo, Variants, DesignIntf, DesignMenus{,Proxies};
4.找到并把
if (FAncestor = nil) and (Component <> Designer.Root)
and IsProxyClass(Component.ClassType) then
改为
if (FAncestor = nil) and (Component <> Designer.Root)
{and IsProxyClass(Component.ClassType)} then
5.找到并把
while IsProxyClass(ComponentClass) do
改为
//while IsProxyClass(ComponentClass) do
6.保存,编译运行,OK上面3.4.5.就是把Proxies单元从DesignEditors单元中剔除,DesignEditors单元中只有两个地方引用了Proxies单元的函数,而且是同一个函数:IsProxyClass,把这两个地方注释掉就可以了.
http://www.delphiboy.com/cgi-bin/doc/datacontent.php?no=262