[fpc-devel] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size
Sven Barth
pascaldragon at googlemail.com
Tue Aug 24 15:05:34 CEST 2021
Bart via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Di., 24.
Aug. 2021, 06:31:
> On Mon, Aug 23, 2021 at 3:35 PM Yuriy Sydorov via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> > Just move common.dll from SysWOW64 to system32. The file is placed
> wrongly
> > by some installer.
>
> If I understand Tomas correctly then that would not make any
> difference: wether or not that specific common.dll is in system2 or
> syswow64, Windows just makes fpc believe it is in system32 anyway, AND
> fpc decides this is the wrong common.dll and aborts.
>
Wrong. If it would be a 64-bit DLL in System32 of a x86_64 system then
there would be no problem. However a 64-bit DLL in the SysWOW64 directory
(thus the 32-bit System32 directory) *is* a problem. Same for a 32-bit DLL
in the System32 directory of a x86_64 system.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20210824/db721c44/attachment.htm>
More information about the fpc-devel
mailing list