Atozed Forums
15.1.4: IWClassesFix was compiled with a different version ... - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: 15.1.4: IWClassesFix was compiled with a different version ... (/thread-1202.html)



15.1.4: IWClassesFix was compiled with a different version ... - Fulgan - 08-22-2019

After updating IW to 15.1.4 (from a previoulsy working version 15.x) I have this message when trying to compile any IW application in Delphi 10.2.3:

[dcc32 Fatal Error] IWApplication.pas(410): F2051 Unit IWClassesFix was compiled with a different version of IWApplication.TIWApplication

I'm using Delphi 10.2 Version 25.0.29899.2631


RE: 15.1.4: IWClassesFix was compiled with a different version ... - kudzu - 08-22-2019

Are you using 15.2.3? If so did you also apply the second "patch" that EMBT issued to "unbreak" what .3 broke?


RE: 15.1.4: IWClassesFix was compiled with a different version ... - ShaneStump - 08-22-2019

(08-22-2019, 01:31 PM)kudzu Wrote: Are you using 15.2.3? If so did you also apply the second "patch" that EMBT issued to "unbreak" what .3 broke?

He is using 10.2.3 NOT 10.3.2  Big Grin!

All the best,

Shane


RE: 15.1.4: IWClassesFix was compiled with a different version ... - Fulgan - 08-23-2019

(08-22-2019, 04:13 PM)ShaneStump Wrote:
(08-22-2019, 01:31 PM)kudzu Wrote: Are you using 15.2.3? If so did you also apply the second "patch" that EMBT issued to "unbreak" what .3 broke?

He is using 10.2.3 NOT 10.3.2  Big Grin!

Precisely. Thanks


RE: 15.1.4: IWClassesFix was compiled with a different version ... - Alexandre Machado - 08-24-2019

I suspect that you still have older version files in place somewhere?

Check your Library path first:

Tools -> Options -> Delphi Options -> Library -> Library Path (for 32 bits and 64 bits).

Check if you have any older path for IW files before the path for IW 15.1.4. If so, remove it and try to build it again.

IWClassesFix.pas has changed in IW 15.1.3, so your compiler is probably trying to link with an old version.


RE: 15.1.4: IWClassesFix was compiled with a different version ... - Fulgan - 08-27-2019

Quote:I suspect that you still have older version files in place somewhere?


Bingo.. There is a folder called "Lib\core" that contains older version of several DCUs. It wasn't part of my delphi path but was part of the search part of my projects (for reasons unknown).

Removing that path solved the issue. 

Thanks