Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Bart via fpc-devel
On Mon, Aug 23, 2021 at 2:45 PM Michael Van Canneyt via fpc-devel wrote: > Use objdump, provided with FPC: Thanks! C:\devel\fpc\trunk>objdump -f \windows\SysWOW64\Common.dll \windows\SysWOW64\Common.dll: file format pei-x86-64 architecture: i386:x86-64, flags 0x012f: HAS_RELOC, EXEC_P,

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Tomas Hajny via fpc-devel
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 the

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Marco van de Voort via fpc-devel
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 f

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Tomas Hajny via fpc-devel
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 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 underly

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Bart via fpc-devel
On Mon, Aug 23, 2021 at 3:01 PM Tomas Hajny via fpc-devel 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 tricker

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Tomas Hajny via fpc-devel
On 2021-08-23 14:37, Bart via fpc-devel wrote: On Mon, Aug 23, 2021 at 2:28 PM Tomas Hajny via fpc-devel wrote: Does it exist in C:\Windows\SysWOW64\ on your machine? Yes, there is a common.dll there. I think that syswow64 is not in my %PATH%, but currently I'm at work and cannot check. I a

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Michael Van Canneyt via fpc-devel
On Mon, 23 Aug 2021, Bart via fpc-devel wrote: On Mon, Aug 23, 2021 at 2:28 PM Tomas Hajny via fpc-devel wrote: Does it exist in C:\Windows\SysWOW64\ on your machine? Yes, there is a common.dll there. I think that syswow64 is not in my %PATH%, but currently I'm at work and cannot check.

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Bart via fpc-devel
On Mon, Aug 23, 2021 at 2:28 PM Tomas Hajny via fpc-devel wrote: > Does it exist in C:\Windows\SysWOW64\ on your machine? Yes, there is a common.dll there. I think that syswow64 is not in my %PATH%, but currently I'm at work and cannot check. I also do not know how to examine wether this one is

Re: [fpc-devel] Untranslatable (hardcoded) messages

2021-08-23 Thread Tomas Hajny via fpc-devel
On 2021-08-23 14:25, Bart via fpc-devel wrote: On Mon, Aug 23, 2021 at 12:23 PM Tomas Hajny via fpc-devel wrote: Hi *, Not directly related at all, but while trying to have a look at the compiler code related to the error message about the DLL header size, I realized that there are quite a f

Re: [fpc-devel] Untranslatable (hardcoded) messages (Was: Re: Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size)

2021-08-23 Thread Bart via fpc-devel
On Mon, Aug 23, 2021 at 12:23 PM Tomas Hajny via fpc-devel wrote: > > Hi *, > > Not directly related at all, but while trying to have a look at the > compiler code related to the error message about the DLL header size, I > realized that there are quite a few error messages (including this one) >

[fpc-devel] Untranslatable (hardcoded) messages (Was: Re: Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size)

2021-08-23 Thread Tomas Hajny via fpc-devel
Hi *, Not directly related at all, but while trying to have a look at the compiler code related to the error message about the DLL header size, I realized that there are quite a few error messages (including this one) hardcoded in ogcoff.pas instead of having these messages in errore.msg and