?
Solved

From Delphi 3 to Delphi 5

Posted on 2002-07-02
6
Medium Priority
?
242 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
[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
  • 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 400 total points
ID: 7124745
also for the thirdparty-components? (if you used some)
(d5-compiled units or source)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

801 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