Solved

importing dcu component without pas

Posted on 1998-03-30
11
872 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

863 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

25 Experts available now in Live!

Get 1:1 Help Now