[fpc-pascal] Converting Delphi7 code to FreePascal with interfacing to protection key?

Tomas Hajny xhajt03 at hajny.biz
Thu Mar 30 10:02:49 CEST 2023


On 30 March 2023 9:36:35 +0200, Marco van de Voort via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>On 30-3-2023 07:38, Bo Berglund via fpc-pascal wrote:
>> The problem seems to be that neither is a valid COFF file according to my Fpc
>> (or Lazarus) in any case. Both generate the COFF error when reaching the linker
>> step.
>
>32-bit objs for delphi are typically OMF, 64-bit are typically coff (for AMD64).

I'd suggest trying to switch to external linking (for both versions) - that might help...

Tomas



More information about the fpc-pascal mailing list