[fpc-devel] Untranslatable (hardcoded) messages

Tomas Hajny XHajT03 at hajny.biz
Mon Aug 23 16:25:20 CEST 2021


On 2021-08-23 16:20, Marco van de Voort via fpc-devel wrote:
> Op 8/23/2021 om 3:11 PM schreef Bart via fpc-devel:
>> dows trickery - feel free to complain at Microsoft. ;-)
>> OK, just for my understanding of this:
>> I cannot see the file there (system32)
>> FPC looks for it there
>> Windows just says it's there (and silently redirects to syswow64 
>> folder)
>> FPC looks at file, sees it's wrong, tells me the file in system32 is 
>> wrong.
>> 
>> Does that imply that, when I have a 32-bit program do a FindFirst for
>> common.dll in the system32 folder, Windows just tells the program that
>> the file is there?
> For compilers this is always more difficult, since the mapping must
> match the target system rather than the host binary.

True, but FPC already deals with that difference (and avoids this 
redirection using the respective Win32 API function if cross-compiling 
from Win32 to Win64).

Tomas


More information about the fpc-devel mailing list