Link to home
Start Free TrialLog in
Avatar of earlrainer
earlrainer

asked on

moving to delphi 7 from delphi 5

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
Avatar of mokule
mokule
Flag of Poland image


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

You can use Windows utility Start/Find/Files etc
ASKER CERTIFIED SOLUTION
Avatar of HillGroover
HillGroover

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

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

Avatar of HillGroover
HillGroover

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
Avatar of earlrainer

ASKER

Thanks a lot