2008-05-07
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形式哈
文章主要方法来自:http://www.samool.com/show-264-1.html
另:http://vclxx.org/forum/index.php?topic=9473.msg28767也值得一看哈。
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形式哈
文章主要方法来自:http://www.samool.com/show-264-1.html
另:http://vclxx.org/forum/index.php?topic=9473.msg28767也值得一看哈。
发表评论
- 浏览: 137753 次
- 性别:

- 来自: 浙江省杭州市

- 详细资料
搜索本博客
我的相册
文章配图20
共 24 张
共 24 张
最近加入圈子
最新评论
-
tomcatplugin下载地址
非常感谢!
-- by wxmfly -
哭死,丢了一部分文件
远离windows,远离病毒木马
-- by pig345 -
终于知道怎么把rails Web ...
yhb888@gmail.com 麻烦发给我一份吧。非常感谢
-- by haibinxx -
华为Smart AX MT800设置方 ...
老大可以发份你的modem的固件给我吗?谢谢!邮箱:ananzy@163.com
-- by ananzy -
终于知道怎么把rails Web ...
发给我一份啊,nif_yws@126.com
-- by nif_yws






评论排行榜