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
Solved

moving to delphi 7 from delphi 5

Posted on 2004-04-19
5
244 Views
Last Modified: 2010-04-05
Hi ,

I have a project made in delphi 5. now i wish to recompile it in delphi 7. but i get this error

Required package VCLDBX50 not found.

unfortunately it does not tell which pas file creates this problem

how do I solve this?

Thanks
0
Comment
Question by:earlrainer
5 Comments
 
LVL 17

Expert Comment

by:mokule
ID: 10862580

Do You search for VCLDBX50 in Your *.pas files?

You can use Windows utility Start/Find/Files etc
0
 
LVL 4

Accepted Solution

by:
HillGroover earned 200 total points
ID: 10862640
Hi earlrainer,

I've had the same problem with some projects that are built in earlier versions of Delphi and it's because their built using the Runtime packages to make the final executable file size smaller. Since the version of Delphi you're now working with has different Runtime packages it can't find the older ones therefore can't compile the project.

If you click on Project | Options and goto the Packages tab, untick the option "Build with runtime packages", click on OK then try compiling again.

This should solve the problem. You may also have to delete the *.cfg file for the project but Delphi should save the project before compilation begins which should overwrite that file with the new settings.

hth

ali
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10866301

   in Delphi7 the package is not VCLDBX50, it is something like VCLDBX70...

0
 
LVL 4

Expert Comment

by:HillGroover
ID: 10893677
In Delphi 7 it's called "vcldbx"
simply renaming it from vcldbx50 to vcldbx will solve the problem, you should do this in Project | Options on the packages tab under "Build with runtime packages" or open the *.ctg file and rename it in there.

you could also delete the projects *.cfg file and Delphi will recreate it referencing the newer packages, ie vcldbx & other delphi 7 packages rather than the Delphi 5 ones.

ali
0
 
LVL 1

Author Comment

by:earlrainer
ID: 10900406
Thanks a lot
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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