[Lazarus] problems building lazarus

Paul Ishenin ip at kmiac.ru
Fri Aug 22 09:33:41 CEST 2008


Mattias Gärtner пишет:
> Zitat von Vincent Snijders <vsnijders at quicknet.nl>:
> 
> 
> Are you sure?
> 
> I can do without linking errors:
> 
> var c: integer; external name 'goal';
> 
> procedure Bla; cdecl; external name 'money';
> 
> 

try it so:

unit money;
interface

function Bla:Boolean; cdecl; external 'money.so';

function IsBla: Boolean;

implementation

function IsBla: Boolean;
begin
   IsBla := Bla;
end;

end.

program test_money;
uses
   money;
begin
end.

Btw, money is not a goal :)

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list