Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File not found: 'Proxies.dcu'

885 views
Skip to first unread message

Andrew Elliott

unread,
Aug 13, 2002, 12:04:59 PM8/13/02
to
Hi all,

I have written a component that has a custom property editor. While I have
written the component I have had a seperat form open to test the component
at design time. When I save the porject and try to compile an app with this
component, I get the following error during compile.

DesignEditors.pas (517): File not found: 'Proxies.dcu'

The component however does all that it should at design time. I have the
professional version of Delphi 6. I have done a search and this file does
not exist except in Designide.DCP.

I have had this problem when compiling components from previous versions of
delphi.

Any ideas on this.

Regards

Andrew


Robert Cerny

unread,
Aug 13, 2002, 1:42:44 PM8/13/02
to
Well done research. :)
Simply add Designide.DCP to list of required packages.
Also, this must be design-only package, because Designide is design-only
package, IOW, you must separate component code from design code.

--
Robert

Andrew Elliott wrote in message <3d592e60@dnews>...

Andrew Elliott

unread,
Aug 14, 2002, 4:12:22 AM8/14/02
to
Thanks Robert,

That solved the problem. I should have spotted that before.

Andrew

"Robert Cerny" <robert.q...@neosys.xrs.qwe.si> wrote in message
news:ajbnfj...@neosys.xrs.si...

Joanna Carter

unread,
Aug 15, 2002, 5:54:36 AM8/15/02
to
"Andrew Elliott" <andrew....@jarvis-uk.com> a écrit dans le message
news: 3d5b74c2@dnews...

> Hi all,
> Ok I have got the component to work sort off. The problem is that I have
to
> use runtime packages. i.e. go into project options of my app and include
> designide.dcp in the Runtime packages list.

Using DesignIDE in your runtime package is against the terms of the licence
for Delphi. If you need the DesignIDE package at runtime, then you have not
separated out the design code from the component.

> This is fine although probably wrong. How do I use this component that I
> have developed whithout having to use runtime packages (which I really
dont
> wont to do)? I am new to writing components as you can probably see.
>
> The previous responce to my earlier messages said
> >>Simply add Designide.DCP to the list of required packages.
> Now where would I do this. In the component package? in the App. I have
> already done this in the Component package and this allows the package to
be
> compiled. Can this DCP file be added to an app without making it a
seperate
> runtime package?

Your component may be in a runtime package, but this must 'require' a
designtime package that 'requires' designide.

Ask yourself the question, 'can my component editor be used at runtime?' The
answer should be No.

--
Joanna Carter
Consultant Software Engineer
TeamBUG support for UK-BUG
TeamMM support for ModelMaker


Brendan Bosman

unread,
Aug 15, 2002, 6:00:34 AM8/15/02
to
Joanna


That answer is very relative. In context of proxies.dcu, you are correct,
but who need proxies.dcu, if you are writing you own designer application?


Regards
Brendan Bosman


"Joanna Carter" <joa...@btinternet.com> wrote in message
news:3d5b7b7f@dnews...

Ken White

unread,
Aug 15, 2002, 9:33:18 AM8/15/02
to
Andrew,

Perhaps this will help:

http://community.borland.com/article/0,1410,27717,00.html

Ken
---
Ken White
kwh...@adpsi.com

Clipper Functions for Delphi and C++ Builder
http://www.adpsi.com

"Andrew Elliott" <andrew....@jarvis-uk.com> wrote in message


news:3d5b74c2@dnews...
> Hi all,
> Ok I have got the component to work sort off. The problem is that I have
to
> use runtime packages. i.e. go into project options of my app and include
> designide.dcp in the Runtime packages list.
>

> This is fine although probably wrong. How do I use this component that I
> have developed whithout having to use runtime packages (which I really
dont
> wont to do)? I am new to writing components as you can probably see.
>
> The previous responce to my earlier messages said
> >>Simply add Designide.DCP to the list of required packages.
> Now where would I do this. In the component package? in the App. I have
> already done this in the Component package and this allows the package to
be
> compiled. Can this DCP file be added to an app without making it a
seperate
> runtime package?
>

> Thanks again
>
> Andrew
>
>
>
> "Andrew Elliott" <andrew....@jarvis-uk.com> wrote in message
> news:3d5a111d$1@dnews...

Robert Cerny

unread,
Aug 16, 2002, 3:57:30 AM8/16/02
to
Nope. You may not use proxies unit in your own designer application from D6
on. It might be that Borland is afraid that someone would build a
competitive product with their own code, but when you install D6, you agree
to licence agreement, so ...

--
Robert

Brendan Bosman wrote in message <3d5b7c2e$1@dnews>...

Ken White

unread,
Aug 28, 2002, 4:29:41 PM8/28/02
to
> The keyword here was proxies unit, which per se is design only code, but
up
> to D5 it was in runtime package VCLxx.BPL, so it had nothing to do with
> designtime packages and was perfectly legal to use that code, because you
> didn't link any design code into your application, if you used this unit,
> you used the (normally unused) code that was already in deployable runtime
> package.

Not quite true... :-) Although the code was in VCLxx, you were not
allowed to use (and your license agreement prohibited you from using) it.

> Borland just moved this unit (and dsgnintf) into designtime package from
D6.
> Another thing: you are not allowed to deploy Borland supplied designtime
> packages, but you are allowed to deploy your own designtime packages,
which
> are by definition design only code.

Right. You're not allowed to deploy Borland supplied designtime packages,
but can deploy yours *for use in the Delphi IDE*.

Daniel

unread,
Sep 4, 2002, 4:22:42 PM9/4/02
to
http://community.borland.com/article/0,1410,27717,00.html
here is the answer

"Ken White" <kwh...@adpsi.com> escribió en el mensaje
news:3d6d32b4$1...@newsgroups.borland.com...
> Robert,

0 new messages