Solved

Delphi 2 components in Delphi 4

Posted on 1998-11-14
3
385 Views
Last Modified: 2010-04-04
I am thinking of upgrading from Delphi 2 to Delphi 4, and I want to know how I can use all my old Delphi 2 components (in .PAS form) in Delphi 4. I heard that you have to load them in a new format. Is it possible to install a component from a .PAS or .DCU file, just like in Delphi 2?
0
Comment
Question by:mmarvi
3 Comments
 
LVL 4

Expert Comment

by:dwwang
ID: 1346808
I think you can install the .PAS file with no problem, but not the .DCU file.
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1346809
.PAS is nothing more than a text file.
0
 
LVL 1

Accepted Solution

by:
xpher earned 10 total points
ID: 1346810
I have done this myself. If you have the source(pas) then you will need to install as new component and D4 then recompiles the
the file and updates your dclusr40.dpk.

Be brave it works 9 times out of ten.

Good luck
Chris :)
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 this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

22 Experts available now in Live!

Get 1:1 Help Now