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
Solved

From Delphi 3 to Delphi 5

Posted on 2002-07-02
6
238 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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