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
Andrew Elliott wrote in message <3d592e60@dnews>...
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...
> 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
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...
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
Brendan Bosman wrote in message <3d5b7c2e$1@dnews>...
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*.
"Ken White" <kwh...@adpsi.com> escribió en el mensaje
news:3d6d32b4$1...@newsgroups.borland.com...
> Robert,