Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

943 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

7 Experts available now in Live!

Get 1:1 Help Now