Link to home
Start Free TrialLog in
Avatar of bcrotaz
bcrotaz

asked on

importing dcu component without pas

I have downloaded a freeware component.
It only comes as a dcu, without the pas file.
When I import it as a component into an existing package, I compile the package.  Delphi complains that it can't find the .pas file.  Obviously, cos it's not there.
How do I set up the package compiler to not look for a pas file?
Avatar of itamar
itamar

Hi bcrotaz,

It seems to me you're using Delphi 3, right ?

If so, are you sure the downloaded component is Delphi 3 compatible ?

Just a guess...

bye,
Itamar
Avatar of bcrotaz

ASKER

No i'm not sure - would delphi not complain about that, before asking for the pas file?
Avatar of StevenB
 What is the Component, where can it be found? Perhaps this info might shed some light on the problem (although I'm tempted to concur with Itamar, I suspect that you've got a D2 component).

  Steven.
Avatar of bcrotaz

ASKER

It must be - the copyright is 1995.
Any way to import it?
(I have delphi 2)
Unfortunatelly, at this time  there is no way - AFAIK :((((

If you don't mind I'll put my comment as answer as we achieved the source of the problem.

Regards,
Itamar
 If you really need the component then you could try compiling it into an OCX through Delphi 2 and then importing that into Delphi 3. You'd have to really need that specific component though, there's probably an equivalent D3 version available somewhere. Again I ask: What is the Component? Where can I find a copy?

  Steven.
Avatar of bcrotaz

ASKER

It's a form size limiter.  Very simple, it just receives the MinMaxSize message and sets the parameters.  Can't remember where I got it though. Sorry. ;-)
I've done it in code now, so the problem doesn't exist any more.
Avatar of bcrotaz

ASKER

Itamar - send an answer.
ASKER CERTIFIED SOLUTION
Avatar of itamar
itamar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bcrotaz

ASKER

AFAIK? That's a new one on me...

Thanks.
AFAIK - As Far As I Know ;)))