Solved

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

16 Experts available now in Live!

Get 1:1 Help Now