Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler error!

Status
Not open for further replies.

SKC

IS-IT--Management
Jan 13, 2002
1
DK
When tying to compile my app - I get this message:
[Fatal Error] Castent30.dpr(18): Unit StdActns was compiled with a different version of StrUtils.TStringSearchOptions
It must be something that happened when trying to inst. a new component or something!
But how do I restore/solve the problem ??

Thanks in advance!!
 
Hi SKC
If you use a 3rd party component which was written with a earlier version of Delphi this sort of thing can occur.

I don't know if the latest versions of Delphi have a built in 'StrUtils' module? It looks like the stdacts stuff (D4 and above) may use such a module from the error message.
A 3rd party component may have it's own version.

If there is one and you have written your own module with the same name this could also cause a problem.

Try removing any 3rd party stuff you may have from the project one at a time to try and pinpoint the problem.
If you track it down to one of these, try and get an up to date copy of the comnponent (or one written for your version of Delphi)

If you have written a module strutils.pas try renameing it.

Try moveing the definition for your 3rd pary componets to the start of the uses clause. placing it before 'stdactns' this will force Delphi to compile stdactns before it get to the component code. (don't know if this will help, worth a try)

Steve.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top