Author Topic: Problem with Delphi external functions  (Read 16710 times)

nobody

  • Guest
Problem with Delphi external functions
« 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'