NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on December 27, 2004, 06:08:18 PM

Title: Problem with Delphi external functions
Post by: nobody on December 27, 2004, 06:08:18 PM
I tried to link more than one external (global) symbol from *.obj file (made by NASM) to Delphi 6, but Delphi did not accept it...

Why don't work this?:


...
    global Foo1
    Foo1:
     ...some code
    global Foo2
    Foo2:
     ...some code
...



{$L objfile.obj}
...
  function Foo1(): sometype; EXTERNAL;
  function Foo2(): sometype; EXTERNAL;
...


DELPHI> Unsatisfied forward or external declaration: 'Foo2'