[fpc-pascal] DLL and SO with Free Pascal

Jilani Khaldi jilani.khaldi1 at virgilio.it
Sun Apr 9 14:01:14 CEST 2006


>
> const
>  spaDLL = 'spa.dll';

I mean here:
const
  spaDLL = 'libspa.so';

>
> //Calculate SPA output values (in structure) based on input values 
> passed in structure
> function spa_calculate(PRec: PSpaData): integer; cdecl; external spaDLL;
>
> implementation
>
> end.

seen the problem exists only under Linux.

jk

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com




More information about the fpc-pascal mailing list