D5 Std: can't compile

hi!

Every time I want to compile a project D5 says that unit "Forms" was compiled with a different version of "Math.Max" (whatever that is).

What can I do ?

Thanks.
Heiko.
webersAsked:
Who is Participating?
 
MadshiConnect With a Mentor Commented:
Yes, the standard version doesn't include the sources. Hmmm... I see two possible reasons for Heiko's problem. (1) The dcu was somehow overwritten with a wrong version. (2) There's another forms.dcu version somewhere in another path (perhaps linked into the project by a special component).
I think you were thinking of the first possibility, I was thinking of the second one...   :-)

Regards, Madshi.
0
 
TheNeilCommented:
Have you installed any components?

First suggestion would be to go back to your Delphi 5 CD and either re-install or copy across the forms.dcu file and the forms.pas file. forms.dcu needs to go into your Delphi5\lib and Delphi5\lib\debug folders. The .pas file needs to go into your Delphi5\source\vcl folder.

Basically the forms unit has been screwed and what this does is to restore the factory standard one. If this sodesn't work then you've got a component installed that isn't Delphi 5 compatible so check any that aren't and get onto whoever you got them from.

The Neil
0
 
MadshiCommented:
Strange this is that you have the standard version. There are no sources shipped with that version. So I would recommand searching your whole harddisk for "forms.dcu". Please report us about the results of this search.

Regards, Madshi.
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
TheNeilCommented:
Doesn't the standard version ship with the source files? Didn't realise. Surely Inprise in their infinite wisdom put a duplicate of the installation directory on the install CD? Sure they always used to. If so then Heiko just needs to get the DCU (if that's all there is) from there

The Neil
0
 
TheNeilCommented:
Just went for the first idea that popped into my head. Yep, a file with the same name somewhere in the search path COULD be the problem. Both are valid and both are easy to check

The Neil
0
 
webersAuthor Commented:
another forms.dcu ! that's the solution
D3 is still installed.

Thanks.
Heiko.
0
All Courses

From novice to tech pro — start learning today.