dsgnintf.dcu 找不到的解决方案(原)

dsgnintf.dcu 找不到的解决方案(原)

这是我D7下装coolform控件时遇到的这个问题哈。
1、添加 lib/designide.dcp到控件的dpk文件的requires部分
2、在控件的pas源文件中凡是uses dsgnintf的地方改成
uses designintf,designeditors
3、加入搜索路径
C:/Program Files/Borland/Delphi7/Source/ToolsAPI
4、implementation部分把Proxies隐掉
uses DesignConst, Consts, RTLConsts, Contnrs{Proxies};
5、找到并把
      if (FAncestor = nil) and (Component <> Designer.Root)
        and IsProxyClass(Component.ClassType) then
改为
      if (FAncestor = nil) and (Component <> Designer.Root)
        {and IsProxyClass(Component.ClassType)} then
6、找到并把
  while IsProxyClass(ComponentClass) do
改为
  //while IsProxyClass(ComponentClass) do
7、保存,编译运行,OK
附件为我原来下载的文件做成的dpk形式哈
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值