Link to home
Start Free TrialLog in
Avatar of rainbowsoftware
rainbowsoftware

asked on

From Delphi 3 to Delphi 5

Whenever I start compiling one of my Delphi 3 applications in Delphi 5 I get the error message:
"Unit clauses was compiled with a different version of Consts.SDuplicateItem"
What does it mean and how can I load my Delphi 3 applications in Delphi 5?
Avatar of kretzschmar
kretzschmar
Flag of Germany image

>What does it mean and how can I load my Delphi 3 applications in Delphi 5?

that means you need the source of all units,
which are not part of the shipment from delphi

compiled units from different delphi versions cannot linked mixed

meikl ;-)
Avatar of rainbowsoftware
rainbowsoftware

ASKER

I have got all the PAS files for my projects and I am not using compiled units from Delphi 3.
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

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
Shot in the dark: I'd recommend to remove all DCUs for those PAS, because IIRC Delphi will not rebuild files which are not changed if DCUs are present. Also Project->Build Project might help.
good shot, w_fox
Yes, there was a 3rd party component. The pas file had been compiled under Delphi 5, but the search path for the dcu file was not specified.
Thanks a lot.