Solved

importing dcu component without pas

Posted on 1998-03-30
11
889 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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