Atozed Forums
Unit IWClassesFix was compiled with 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: Unit IWClassesFix was compiled with different version (/thread-482.html)



Unit IWClassesFix was compiled with different version - Lenfors - 07-06-2018

Hello!

I have an old project using IntraWeb (delphi 2010). Now we only use Delphi 10.2.2 so I tried to recompile the project with this version. Compilation failed so I bought the latest version of Intraweb 15.0.6 (including source) and tried again.

Now I get the following error:
[dcc32 Fatal Error] IWApplication.pas(410): F2051 Unit IWClassesFix was compiled with a different version of System.Generics.Collections.TArray.Sort

I also entered all the source code paths in my Delphi environment but same result.

Please advise

Best regards, Mikael


RE: Unit IWClassesFix was compiled with different version - Jose Nilton Pace - 07-06-2018

Hi, please, follow these links and execute with administrator permissions:
https://doc.atozed.com/en/iw14/gettingst...oval-tool/
https://doc.atozed.com/en/iw14/gettingst...-intraweb/


RE: Unit IWClassesFix was compiled with different version - Lenfors - 07-06-2018

(07-06-2018, 02:05 PM)Hello! I already tried to run the removal tool several times with no luck. Now i upgraded Delphi to 10.2.3 and at least I get another error message :-) Wrote: [dcc32 Error] IWZLibExApi.pas(270): E1026 File not found: 'win32\deflate.obj'
[dcc32 Error] IWZLibExApi.pas(271): E1026 File not found: 'win32\inflate.obj'
[dcc32 Error] IWZLibExApi.pas(272): E1026 File not found: 'win32\inftrees.obj'
[dcc32 Error] IWZLibExApi.pas(273): E1026 File not found: 'win32\infback.obj'
[dcc32 Error] IWZLibExApi.pas(274): E1026 File not found: 'win32\inffast.obj'
[dcc32 Error] IWZLibExApi.pas(275): E1026 File not found: 'win32\trees.obj'
[dcc32 Error] IWZLibExApi.pas(277): E1026 File not found: 'win32\adler32.obj'
[dcc32 Error] IWZLibExApi.pas(278): E1026 File not found: 'win32\crc32.obj'
[dcc32 Error] IWZLibExApi.pas(279): E1026 File not found: 'win32\zutil.obj'
[dcc32 Error] IWZLibExApi.pas(204): E2065 Unsatisfied forward or external declaration: 'deflateInit_'
[dcc32 Error] IWZLibExApi.pas(207): E2065 Unsatisfied forward or external declaration: 'deflateInit2_'
[dcc32 Error] IWZLibExApi.pas(209): E2065 Unsatisfied forward or external declaration: 'deflate'
[dcc32 Error] IWZLibExApi.pas(211): E2065 Unsatisfied forward or external declaration: 'deflateEnd'
[dcc32 Error] IWZLibExApi.pas(213): E2065 Unsatisfied forward or external declaration: 'deflateReset'
[dcc32 Error] IWZLibExApi.pas(216): E2065 Unsatisfied forward or external declaration: 'inflateInit_'
[dcc32 Error] IWZLibExApi.pas(219): E2065 Unsatisfied forward or external declaration: 'inflateInit2_'
[dcc32 Error] IWZLibExApi.pas(221): E2065 Unsatisfied forward or external declaration: 'inflate'
[dcc32 Error] IWZLibExApi.pas(223): E2065 Unsatisfied forward or external declaration: 'inflateEnd'
[dcc32 Error] IWZLibExApi.pas(225): E2065 Unsatisfied forward or external declaration: 'inflateReset'
[dcc32 Error] IWZLibExApi.pas(227): E2065 Unsatisfied forward or external declaration: 'adler32'
[dcc32 Error] IWZLibExApi.pas(229): E2065 Unsatisfied forward or external declaration: 'crc32'
[dcc32 Fatal Error] IWZLibEx.pas(292): F2063 Could not compile used unit 'IWZLibExApi.pas'
Failed
Elapsed time: 00:00:04.4



RE: Unit IWClassesFix was compiled with different version - Alexandre Machado - 07-10-2018

(07-06-2018, 08:27 AM)Lenfors Wrote: Hello!

I have an old project using IntraWeb (delphi 2010). Now we only use Delphi 10.2.2 so I tried to recompile the project with this version. Compilation failed so I bought the latest version of Intraweb 15.0.6 (including source) and tried again.

Now I get the following error:
[dcc32 Fatal Error] IWApplication.pas(410): F2051 Unit IWClassesFix was compiled with a different version of System.Generics.Collections.TArray.Sort

I also entered all the source code paths in my Delphi environment but same result.

Please advise

Best regards, Mikael

Which Delphi build are you using? Please check your exact build number on About box.

Your Delphi 10.2.2 build is probably 1978. You must update to 2004.

https://www.atozed.com/2017/12/delphi-c-10-2-2-update/