[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)

Bart bartjunk64 at gmail.com
Mon Aug 23 14:25:53 CEST 2021


On Mon, Aug 23, 2021 at 12:23 PM Tomas Hajny via fpc-devel
<fpc-devel at lists.freepascal.org> 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)
> hardcoded in ogcoff.pas instead of having these messages in errore.msg
> and thus allowing translation, centralized management of these message
> texts, etc. It would be probably useful to fix that (I guess that some
> volunteer should be able to provide patches for that)...

Also, the message is wrong.
It says the file in that location has the wrong header, but the file
does not even exist in that location.

-- 
Bart


More information about the fpc-devel mailing list