[Fatal Error] DesignEditors.pas(517): File not found: 'Proxies.dcu'(50分)

J

j5203

Unregistered / Unconfirmed
GUEST, unregistred user!
我在一个控件中用到了DesignEditors单元(DesignEditors单元中引用了Proxies单元),
在编译时却总有错误提示:
[Fatal Error] DesignEditors.pas(517): File not found: 'Proxies.dcu'
我查找了我硬盘上所有文件,也没有Proxies.dcu或Proxies.pas文件。
请问这是怎么回事,怎么解决。
另外,我听说DesignIntF就是Delphi5中的DsIntF单元,
但我发现好像DesignEditors才是,请问谁才相当于Delphi5中的DsIntF单元。


 
DsgnIntf已被分为多个单元:DesignIntf, DesignEditors, VCLEditors等等...
在控件包中Requires加DesignIde,把运行时部分与设计时部份分开
要点都跟你说了, 还搞不定就在论坛中查一把。
 
首先建立一个工程,加入上诉单元,编译,使它生成 .dcu的文件,这样你就可以使用该单元文件了。
 
用这个试试。

unit Proxies;
interface

Function IsProxyClass(ComponentClass: TClass): Boolean;

implementation

Function IsProxyClass(ComponentClass: TClass): Boolean;
begin
Result := True;
end;

end.
 
关注![?]
 
拜托! 先搜索一下论坛再提问吧
很老的问题了。[:(!]
 
多人接受答案了。
 
顶部