Solved

moving to delphi 7 from delphi 5

Posted on 2004-04-19
5
247 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
[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 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
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 …

705 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