Solved

importing dcu component without pas

Posted on 1998-03-30
11
874 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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
 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi : could not find program, '...exe' 2 167
Magic Software info 18 130
Working with hours 3 57
firemonkey Android Listview Sort items 7 5
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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