• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

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?
0
rainbowsoftware
Asked:
rainbowsoftware
  • 3
  • 2
1 Solution
 
kretzschmarCommented:
>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 ;-)
0
 
rainbowsoftwareAuthor Commented:
I have got all the PAS files for my projects and I am not using compiled units from Delphi 3.
0
 
kretzschmarCommented:
also for the thirdparty-components? (if you used some)
(d5-compiled units or source)
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
W_FoxCommented:
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.
0
 
kretzschmarCommented:
good shot, w_fox
0
 
rainbowsoftwareAuthor Commented:
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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now