Board index » delphi » Easy delphi 5 question

Easy delphi 5 question

Help

I've just bought D5 pro.

My components do not want to work - they were fine in D4pro.

They install and appear on the bar at the top of the screen ok. You can put
the component onto a form, but when you try to compile, an error appears at
the uses location and a file 'des.... ' cannot be found.

This is driving me up the wall as I have installed many components in D2 and
D4, but cannot install them in D5?

Please help

Thanks

Aman Uppal

Ama...@yahoo.com

 

Re:Easy delphi 5 question


Quote
Sona Uppal wrote:

> Help

> I've just bought D5 pro.

> My components do not want to work - they were fine in D4pro.

> They install and appear on the bar at the top of the screen ok. You can put
> the component onto a form, but when you try to compile, an error appears at
> the uses location and a file 'des.... ' cannot be found.

> This is driving me up the wall as I have installed many components in D2 and
> D4, but cannot install them in D5?

> Please help

> Thanks

> Aman Uppal

> Ama...@yahoo.com

If you just have the compiled units, you are out of luck. Already since
the old TP days, units compiled for a TP/Delphi version are not
compatible with any other version. You will need to have the sourcecode
of the unit to recompile it with Delphi5.

Alex
--
*** http://www.bullterrier-in-not.de/massenmord.htm ***

Author of the free Chatsystem PINO! || Website: http://www.alcomp.net
Available at http://pino.cjb.net    || Chat   : pino.wox.org:8080

Re:Easy delphi 5 question


If you have the file that Delphi cannot find you have to put the directory
in the library path.

"Sona Uppal" <so...@ukonline.co.uk> schreef in bericht
news:DW7m5.25381$3T6.159019@monolith.news.easynet.net...

Quote
> Help

> I've just bought D5 pro.

> My components do not want to work - they were fine in D4pro.

> They install and appear on the bar at the top of the screen ok. You can
put
> the component onto a form, but when you try to compile, an error appears
at
> the uses location and a file 'des.... ' cannot be found.

> This is driving me up the wall as I have installed many components in D2
and
> D4, but cannot install them in D5?

> Please help

> Thanks

> Aman Uppal

> Ama...@yahoo.com

Re:Easy delphi 5 question


I have the source code.

The file that is not found is:

DsgnIntf.dcu

Quote
"Alexander Mueller" <al...@gmx.at> wrote in message

news:39991B42.931A0EC7@gmx.at...
Quote
> Sona Uppal wrote:

> > Help

> > I've just bought D5 pro.

> > My components do not want to work - they were fine in D4pro.

> > They install and appear on the bar at the top of the screen ok. You can
put
> > the component onto a form, but when you try to compile, an error appears
at
> > the uses location and a file 'des.... ' cannot be found.

> > This is driving me up the wall as I have installed many components in D2
and
> > D4, but cannot install them in D5?

> > Please help

> > Thanks

> > Aman Uppal

> > Ama...@yahoo.com

> If you just have the compiled units, you are out of luck. Already since
> the old TP days, units compiled for a TP/Delphi version are not
> compatible with any other version. You will need to have the sourcecode
> of the unit to recompile it with Delphi5.

> Alex
> --
> *** http://www.bullterrier-in-not.de/massenmord.htm ***

> Author of the free Chatsystem PINO! || Website: http://www.alcomp.net
> Available at http://pino.cjb.net    || Chat   : pino.wox.org:8080

Re:Easy delphi 5 question


I have reinstalled the component into:

prog files\delphi5\lib

and still get the same error!

The file that is not found is:

DsgnIntf.dcu

Thanks

Aman Uppal

Quote
"M.H. Avegaart" <avega...@NOSPAMmccomm.nl> wrote in message

news:8nb9oa$nb5$1@porthos.nl.uu.net...
Quote
> If you have the file that Delphi cannot find you have to put the directory
> in the library path.

> "Sona Uppal" <so...@ukonline.co.uk> schreef in bericht
> news:DW7m5.25381$3T6.159019@monolith.news.easynet.net...
> > Help

> > I've just bought D5 pro.

> > My components do not want to work - they were fine in D4pro.

> > They install and appear on the bar at the top of the screen ok. You can
> put
> > the component onto a form, but when you try to compile, an error appears
> at
> > the uses location and a file 'des.... ' cannot be found.

> > This is driving me up the wall as I have installed many components in D2
> and
> > D4, but cannot install them in D5?

> > Please help

> > Thanks

> > Aman Uppal

> > Ama...@yahoo.com

Re:Easy delphi 5 question


On Tue, 15 Aug 2000 17:05:38 +0100, "Sona Uppal"

Quote
<so...@ukonline.co.uk> wrote:
>I have reinstalled the component into:

>prog files\delphi5\lib

>and still get the same error!

>The file that is not found is:

>DsgnIntf.dcu

>Thanks

>Aman Uppal

I had the same problem.  Look in your
\delphi 5\source\toolsapi dir - that's where i found the souce.
Copy it to your \delphi 5\Lib dir and all should be well.

Re:Easy delphi 5 question


"michael" <micha...@rochester.rr.com> skrev i en meddelelse
news:h9ripsoln28ac42qji320653s50f71gvu8@4ax.com...

Quote
> On Tue, 15 Aug 2000 17:05:38 +0100, "Sona Uppal"
> <so...@ukonline.co.uk> wrote:
> >The file that is not found is:
> >DsgnIntf.dcu

> I had the same problem.  Look in your
> \delphi 5\source\toolsapi dir - that's where i found the souce.
> Copy it to your \delphi 5\Lib dir and all should be well.

And all will not be well. Doing that will give problems later in D6.

D5 requires you to split components into design time units and run time
units.
Properly designed components do not need DsgnIntf.
What you need to do is separate the design time units from the run
time units (this is mostly moving the component/property editors to their
own
units).  Then put the run time units into a run time package, the design
time
units (including the Register procedure) into a design time package.  That
design time package should require the runtime dcp and vcl50.dcp.  Install
the
design time package.

DsgnIntf is a design time only unit and should not be included in run time
units.  As of D5 the Dcu no longer ships with Delphi.  Pro and Ent users has
the
pas file in the toolsapi directory, but odds are D6 will not even ship this.
So
you can either properly segregate the code now, or when D6 ships (Std users
have
no choice and must segregate now).

Finn Tolderlund

Other Threads