Solved

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

Posted on 2003-11-21
2
662 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

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…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 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