Discussion:
Please help with DsgnIntf / DesignEditors / IsProxyClass when updating an old component
(too old to reply)
Andy Teal
2007-10-12 13:00:47 UTC
Permalink
Hi,

I'm currently upgrading D5 projects to Delphi 2007 (RAD Studio)

One particular unit used to use DsgnIntf.pas in $(DELPHI)\Source\Toolsapi
which I'm presuming is now DesignEditors.pas ?
When I compile that, then I get
[DCC Error] DesignEditors.pas(1047): E2003 Undeclared identifier:
'IsProxyClass'
from inside DesignEditors.pas
I'm not sure if I am going down the right path here by trying to get this to
compile ?
Hope someone can point me in the right direction.

Thanks
Andy
Jeff Overcash (TeamB)
2007-10-12 17:03:28 UTC
Permalink
Post by Andy Teal
Hi,
I'm currently upgrading D5 projects to Delphi 2007 (RAD Studio)
One particular unit used to use DsgnIntf.pas in $(DELPHI)\Source\Toolsapi
which I'm presuming is now DesignEditors.pas ?
When I compile that, then I get
'IsProxyClass'
from inside DesignEditors.pas
I'm not sure if I am going down the right path here by trying to get this to
compile ?
Hope someone can point me in the right direction.
Thanks
Andy
Make sure your design time code and run time code are not mixed. They need to
be in separate packages. The design time code needs to require the designide
package. You can not use any of the design time code in a run time package (it
was a license violation in D5, but you could still accidentally do it).

http://community.borland.com/article/0,1410,27717,00.html
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
Nick Hodges (CodeGear)
2007-10-12 18:07:19 UTC
Permalink
Post by Andy Teal
Hope someone can point me in the right direction.
First, thanks for your business and thanks for upgrading.

Second, this article:

http://dn.codegear.com/article/27717

should cover everything you need. Things in this area have changed
between Delphi 5 and now.
--
Nick Hodges
Delphi Product Manager - CodeGear
http://blogs.codegear.com/nickhodges
Remy Lebeau (TeamB)
2007-10-16 18:21:12 UTC
Permalink
Post by Andy Teal
One particular unit used to use DsgnIntf.pas in $(DELPHI)\Source\Toolsapi
which I'm presuming is now DesignEditors.pas ?
Yes, amongst several others. DsgnIntf was separated out into several
smaller units.
Post by Andy Teal
When I compile that, then I get
'IsProxyClass'
from inside DesignEditors.pas
IsProxyClass() is in the Proxies unit, which is another design-time unit
that is part of the DesignIde library.


Gambit

Loading...