Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

Delphi 2 components in Delphi 4

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
mmarvi
Asked:
mmarvi
1 Solution
 
dwwangCommented:
I think you can install the .PAS file with no problem, but not the .DCU file.
0
 
scrapdogCommented:
.PAS is nothing more than a text file.
0
 
xpherCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now