?
Solved

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

Posted on 2003-11-21
2
Medium Priority
?
673 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 800 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
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 Month8 days, 1 hour left to enroll

765 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