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?
LVL 1
bcrotazAsked:
Who is Participating?
 
itamarCommented:
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
0
 
itamarCommented:
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
0
 
bcrotazAuthor Commented:
No i'm not sure - would delphi not complain about that, before asking for the pas file?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
StevenBCommented:
 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.
0
 
bcrotazAuthor Commented:
It must be - the copyright is 1995.
Any way to import it?
(I have delphi 2)
0
 
itamarCommented:
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
0
 
StevenBCommented:
 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.
0
 
bcrotazAuthor Commented:
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.
0
 
bcrotazAuthor Commented:
Itamar - send an answer.
0
 
bcrotazAuthor Commented:
AFAIK? That's a new one on me...

Thanks.
0
 
itamarCommented:
AFAIK - As Far As I Know ;)))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.