Solved

importing dcu component without pas

Posted on 1998-03-30
11
868 Views
Last Modified: 2010-04-06
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?
0
Comment
Question by:bcrotaz
  • 5
  • 4
  • 2
11 Comments
 
LVL 4

Expert Comment

by:itamar
ID: 1361088
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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1361089
No i'm not sure - would delphi not complain about that, before asking for the pas file?
0
 
LVL 4

Expert Comment

by:StevenB
ID: 1361090
 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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1361091
It must be - the copyright is 1995.
Any way to import it?
(I have delphi 2)
0
 
LVL 4

Expert Comment

by:itamar
ID: 1361092
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 4

Expert Comment

by:StevenB
ID: 1361093
 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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1361094
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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1361095
Itamar - send an answer.
0
 
LVL 4

Accepted Solution

by:
itamar earned 50 total points
ID: 1361096
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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1361097
AFAIK? That's a new one on me...

Thanks.
0
 
LVL 4

Expert Comment

by:itamar
ID: 1361098
AFAIK - As Far As I Know ;)))
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now