Solved

Delphi 2 components in Delphi 4

Posted on 1998-11-14
3
388 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Show Listview image from database (String field) 5 137
Delphi 2 69
FMX and jaudiotracker playing memory stream 29 87
Breakpoint doesn't stop in my variable 3 30
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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