Solved

From Delphi 3 to Delphi 5

Posted on 2002-07-02
6
239 Views
Last Modified: 2010-04-04
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
Comment
Question by:rainbowsoftware
  • 3
  • 2
6 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7124678
>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
 

Author Comment

by:rainbowsoftware
ID: 7124730
I have got all the PAS files for my projects and I am not using compiled units from Delphi 3.
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 7124745
also for the thirdparty-components? (if you used some)
(d5-compiled units or source)
0
Technology Partners: 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!

 

Expert Comment

by:W_Fox
ID: 7124819
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
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7124827
good shot, w_fox
0
 

Author Comment

by:rainbowsoftware
ID: 7124858
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

Industry Leaders: 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

Title # Comments Views Activity
Magic Software info 18 142
Convert GUI app into console app for Win32 Env 5 125
Dev Express grid collapse 2 47
Firemonkey BASS_Init into a thread 17 50
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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