[fpc-devel] Building trunk of today fails on Windows: Error:Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size
wkitty42 at windstream.net
wkitty42 at windstream.net
Sun Aug 22 13:31:24 CEST 2021
On 8/22/21 1:56 AM, J. Gareth Moreton via fpc-devel wrote:
> It might be to do with the order that directories are searched. If it finds the 64-bit version
> ghost, then it will throw an error. I've requested to change the error to a warning instead in the
> post, but was shot down.
if that Common.dll file is only valid for 64bit windows builds, perhaps the
better thing to do is to wrap the $linklib line in a check to see if you are
building 64bit... if 64bit then loadlib otherwise, noop... seems logical at
first glance but the question then is if one can determine the bitness of the
current build in progress...
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list where it belongs!*
More information about the fpc-devel
mailing list