Solved

From Delphi 3 to Delphi 5

Posted on 2002-07-02
6
236 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
Comment Utility
>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
Comment Utility
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
Comment Utility
also for the thirdparty-components? (if you used some)
(d5-compiled units or source)
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Expert Comment

by:W_Fox
Comment Utility
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
Comment Utility
good shot, w_fox
0
 

Author Comment

by:rainbowsoftware
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now