Delphi 7安装控件时file not found:DesignIntf.dcu 时的解决方法

来源:互联网 发布:软件管家360下载 编辑:程序博客网 时间:2024/06/05 05:25
Delphi 7安装控件时file not found:DesignIntf.dcu 时的解决方法
新建一个Proxies.pas文件
写入以下内容
unit Proxies;
interface
Function IsProxyClass(ComponentClass: TClass): Boolean;
implementation
Function IsProxyClass(ComponentClass: TClass): Boolean;
begin
  Result := True;
end;
end.
然后放到 \Borland\Delphi7\Source\ToolsAPI
再把 \Borland\Delphi7\Source\ToolsAPI 添加到LibraryPath就可以了
具体就是在Delph7里选“Tools”->“Environment Options”->“Library”->“Library path”
后面附加输入:$(DELPHI)\Source\ToolsAPI