Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-15 Thread KES
Здравствуйте, Stephano. Вы писали 15 ноября 2008 г., 9:52:09: S> KES wrote: >> library tkes2; >> >> {$mode objfpc} >> {$PACKRECORDS C} >> >> >> function somefn: integer; cdecl; export; >> begin >> somefn:= 3; >> end; >> >> exports >> //I do not do as: >> // somefn name 'somefn'; // because

Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-14 Thread Michael Van Canneyt
On Fri, 14 Nov 2008, KES wrote: > Здравствуйте, Marc. > > Вы писали 13 ноября 2008 г., 21:43:38: > > MS> Am Donnerstag, den 13.11.2008, 18:59 +0200 schrieb KES: > >> Здравствуйте, Marc. > >> > >> Вы писали 12 ноября 2008 г., 23:12:43: > > > >> MS> Then I'd say the fault is clearly on the fi

Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-14 Thread KES
Здравствуйте, Marc. Вы писали 13 ноября 2008 г., 21:43:38: MS> Am Donnerstag, den 13.11.2008, 18:59 +0200 schrieb KES: >> Здравствуйте, Marc. >> >> Вы писали 12 ноября 2008 г., 23:12:43: >> MS> Then I'd say the fault is clearly on the firebird side. >> >> MS> One last thing I'd try is to use

Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-14 Thread KES
Здравствуйте, Marc. Вы писали 13 ноября 2008 г., 21:43:38: MS> Am Donnerstag, den 13.11.2008, 18:59 +0200 schrieb KES: >> Здравствуйте, Marc. >> >> Вы писали 12 ноября 2008 г., 23:12:43: >> MS> Then I'd say the fault is clearly on the firebird side. >> >> MS> One last thing I'd try is to use

Re: Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-12 Thread Marc Santhoff
Am Mittwoch, den 12.11.2008, 22:55 +0200 schrieb KES: > Здравствуйте, Marc. > > Вы писали 12 ноября 2008 г., 22:13:32: > > MS> Another observation: > > MS> In any case you get the error message: > > >> function FNTEST2 is not defined > >> module name or entrypoint could not be found > > MS> If

Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-12 Thread KES
Здравствуйте, Marc. Вы писали 12 ноября 2008 г., 22:13:32: MS> Another observation: MS> In any case you get the error message: >> function FNTEST2 is not defined >> module name or entrypoint could not be found MS> If the function name is there and written correctly, make sure the MS> module (=

Re: Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-12 Thread Marc Santhoff
Am Mittwoch, den 12.11.2008, 20:00 +0100 schrieb Marc Santhoff: > Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KES: > > I have tryed in C: > > > > extern int fntest(); > > > > int fntest() > > { > > return 8; > > } > > > > this work, but fpc does not ((( > > Maybe looking at the .o with nm

Re: Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-12 Thread Marc Santhoff
Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KES: > I have tryed in C: > > extern int fntest(); > > int fntest() > { > return 8; > } > > this work, but fpc does not ((( Maybe looking at the .o with nm helps to show you how the function name is mangled. Or use "fpc -s ..." and "gcc -S -fver

Re[2]: [fpc-pascal] UDF+FREEBSD+FIREBIRD

2008-11-12 Thread KES
Здравствуйте, Jon. No, I just trying to write UDF in FPC on FreeBSD platform. this is my first try, there is no any 'uses'; I have tryed in C: extern int fntest(); int fntest() { return 8; } this work, but fpc does not ((( I need fpc because of I have many functions in delphi on Win32 platform