Solved

Error = Unit forms was compiled with a different version of Classes.Tpersistent = HELP

Posted on 2003-11-21
2
661 Views
Last Modified: 2010-04-05
Hi I was 'rearranging' some code in my latest project and created a few new units, however I used a reserved word top name the unit (accidentally of course ;) ), classes and unit (well what other names might u use for an RTS unit editor) and I got the following errors:

Unit forms was compiled with a different version of Classes.Tpersistent
Unit Graphics was compiled with a different version of Classes.Tpersistent

I don’t have a unit called forms or graphics and I have no idea how to solve this problem

please help !!!!

David

P>S> by the way I removed both units with reserved names.... so I don’t see what’s going wrong, surly someone else has had this before???
0
Comment
Question by:DavidBirch2dotCom
[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
2 Comments
 
LVL 6

Accepted Solution

by:
bpana earned 200 total points
ID: 9800038
hi,

find the classes.dcu in the "unit output directory" of your project and delete it.
the one from 'C:\Program Files\Borland\Delphi6\Lib' should be used.

Bogdan
0
 
LVL 7

Author Comment

by:DavidBirch2dotCom
ID: 9800082
THanks bogdan, that worked :)

easy as that :)
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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