Well maybe ExportAll compiler feature should be suggested?
But please try this
unit Unit1;
{$mode objfpc}{$H+}
interface
procedure proc1; stdcall;
procedure proc2; stdcall;
implementation
procedure proc1; stdcall;
begin
writeln('hello');
end; exports proc1;
procedure proc2; stdcall;
begin
writeln('hello 2');
end; exports proc2;
end.
I tried and it didn't seem to work, however perhaps it could be related
to that I'm trying to create a library for arm-linux on android.
I've been following the guides from
http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface/Android which
i know probably is trying to
do something that's not possible.
Anyway, thanks to both of you for the help so far.
Regards,
Torsten.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal