[fpc-devel] Untranslatable (hardcoded) messages

Tomas Hajny XHajT03 at hajny.biz
Mon Aug 23 15:54:05 CEST 2021


On 2021-08-23 15:11, Bart via fpc-devel wrote:
> On Mon, Aug 23, 2021 at 3:01 PM Tomas Hajny via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
> 
>> The compiler finds the DLL by looking to C:\Windows\system32. As
>> mentioned in another e-mail, the fact that this request is redirected 
>> to
>> C:\Windows\SysWOW64 instead by the underlying operating system is a MS
>> Windows trickery - feel free to complain at Microsoft. ;-)
> 
> OK, just for my understanding of this:
> I cannot see the file there (system32)

You probably cannot see it there if looking there by using a 64-bit 
application. If you use a 32-bit build of some file manager, you'd 
probably see it there as well.


> 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?

Yes, it does.

Tomas


More information about the fpc-devel mailing list