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

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