Solved

moving to delphi 7 from delphi 5

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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