Ah, sorry, that would be for the other direction =) This one should work:
function aplusb(a,b:longint):longint;cdecl; public name '_aplusb'; -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal