Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Michael . VanCanneyt
On Sat, 24 Jul 2004, Guto wrote: > > - I am confused about the changing of owner and permissions. Have you tried > > changing it to root, with permissions 755 ? > > I copied the permissions from other firebird standard libraries... > > Whell, Im do this now (and the error remains): > > cont

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Marco van de Voort
[ Charset ISO-8859-1 unsupported, converting... ] > > > What pascal compiler is used to compile free pascal ? :) > > > > FPC. Early versions were compiled with TP. > > That's the most funniest thing in software... > > Using previous software/version to create new versions... then using those > ag

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
> > What pascal compiler is used to compile free pascal ? :) > > FPC. Early versions were compiled with TP. That's the most funniest thing in software... Using previous software/version to create new versions... then using those again to make newer versions and each new version has ofcourse new

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Agustin Barto
On Sat, 24 Jul 2004 11:51:41 -0500, Ken Linder <[EMAIL PROTECTED]> wrote: > > IMHO, Kylix was before its time a bit. I was at BORCON last year and there > were quite a few people interested in it being ressurected. No, it has not > been abandoned, luckily. Borland is just holding onto it for rig

Re: [fpc-pascal]Socket programming with FPC

2004-07-24 Thread Marco van de Voort
> >> Which unit should I check out? > > MvdV> sockets, winsock > > I can't locate docs about winsock unit, though a simple program > containing it in a uses list compiles fine. I have browsed through > Reference Guide 1.9 from 1.0.10 package. it's a straight c->pascal conversion of the Windows a

Re: [fpc-pascal]Socket programming with FPC

2004-07-24 Thread Ivan Stamenkovic
Hello Marco, Saturday, July 24, 2004, 5:50:40 PM, you wrote: >> Is it possible to do socket programming under win32 with FPC 1.0.10 or >> 1.9.4? MvdV> Yes both. MvdV> For 1.9.4 complete suites (ICS, see www.overbyte.be) are available, see MvdV> in CVS projects/contrib/ics and deeper. >> Which

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Marco van de Voort
> intmax; > > end. > > - > > # fpc teste.pas > # mv libteste.so teste.so > # mv teste.so /usr/local/firebird/UDF/ try: fpc teste.pp -Xp ld -shared -soname libteste.so.1 -o libteste.so.1.0 -lc teste.o ___ fpc-pascal maillist - [EMAIL PROTECT

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Matt Emson
Agustin Barto wrote on 20/7/04 22:31: >... and the >abandonment of Kylix by >Borland. Untrue Kylix is on hold. It has not been "abandoned"... That notion is complete FUD! I'm offline at the moment (typing this on my trusty palmpilot professional), but one of the Borland engineer's BLOGs

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
> - I am confused about the changing of owner and permissions. Have you tried > changing it to root, with permissions 755 ? I copied the permissions from other firebird standard libraries... Whell, Im do this now (and the error remains): contents of teste.pas: {$mode objfpc} library teste;

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Ken Linder
Agustin Barto wrote: > Yes, but you don't have to throw your money to a corporation that > could leave you hanging. Think about what happened with Kylix. That > project is obviously abandoned. Have you tried to make it work on any > the newest linux distributions? Good luck. If it was a free softwa

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Michael . VanCanneyt
On Sat, 24 Jul 2004, Guto wrote: > I tried with both, but I get the same error... Nevertheless, the library can be loaded and used without problems by an FPC program, I tested this: program testee; function intmax (A,B : integer): integer; stdcall; external 'libteste' name 'intmax'; begin

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
I believe, thats "cdecl", this is not explicit, and I get this example from http://www.firebirdsql.org/index.php?op=useful&id=deatz_udf#linux the function is: int modulo(int *, int *); int modulo(a, b) int *a; int *b; { if (*b == 0) return -1; else return *a % *b; } and I

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Florian Klaempfl
Harald Houppermans wrote: - Original Message - From: "Florian Klaempfl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 2:25 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal Harald Houppermans wrote: 3) Everytime I have to boot on Windows I feel like

Re: [fpc-pascal]Socket programming with FPC

2004-07-24 Thread Marco van de Voort
> Is it possible to do socket programming under win32 with FPC 1.0.10 or > 1.9.4? Yes both. For 1.9.4 complete suites (ICS, see www.overbyte.be) are available, see in CVS projects/contrib/ics and deeper. > Which unit should I check out? sockets, winsock > If possible under win32, what about

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Marco van de Voort
> I tried with both, but I get the same error... > > I wrote the same lib in C, and works fine, but I wouldnt like to > maintain a C version of all my libraries (actually written in > Delphi)... How is the C stuff defined? With stdcall or cdecl? > I believe thats a directive of something like th

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
I tried with both, but I get the same error... I wrote the same lib in C, and works fine, but I wouldnt like to maintain a C version of all my libraries (actually written in Delphi)... I believe thats a directive of something like that I must to use to works in FreePascal. Any idea? Thanks, Gut

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Jonas Maebe
On 24 jul 2004, at 14:57, Harald Houppermans wrote: Ok, try to compile a _working_ fpc with delphi :> Hmm, you mean I should try to compile the free pascal compiler with delphi ? :) Yes, he does. I think the free pascal compiler was written in pascal ? It is. What pascal compiler is used to compil

[fpc-pascal]Socket programming with FPC

2004-07-24 Thread Ivan Stamenkovic
Hello, Is it possible to do socket programming under win32 with FPC 1.0.10 or 1.9.4? Which unit should I check out? If possible under win32, what about DOS? Thanks! ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/l

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Marco van de Voort
> I created a UDF, just to test and try to discovery what's wrong. > I ill explain what I did step by step. > > I created a teste.pas file like this: > > > > library teste; > > function intmax(a,b: Integer): Integer; stdcall; export; > begin > if a>b then intmax:=a else intmax:=b; > end;

[fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
I created a UDF, just to test and try to discovery what's wrong. I ill explain what I did step by step. I created a teste.pas file like this: library teste; function intmax(a,b: Integer): Integer; stdcall; export; begin if a>b then intmax:=a else intmax:=b; end; exports intmax; end. -

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Agustin Barto
On Sat, 24 Jul 2004 14:24:35 +0200, Harald Houppermans <[EMAIL PROTECTED]> wrote: > > I doubt you know what happens "under the hood" of free pascal. > That's not the point. > Also I believe the free pascal source code is fully available so you might > look at specific parts ;) That's the point

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
- Original Message - From: "Florian Klaempfl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 2:25 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal > Harald Houppermans wrote: > >>3) Everytime I have to boot on Windows I feel like a little part of m

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Florian Klaempfl
Harald Houppermans wrote: 3) Everytime I have to boot on Windows I feel like a little part of me dies. Everytime time Windows hags that little part goes to Hell and says "hi" to Bill Gates. Lol. I think Delphi and Windows are well tested and a excellent choice for any type of application =D Ok, tr

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
- Original Message - From: "Agustin Barto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 7:59 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal > 1) Using proprietary software to build scientific applications (like > in my case) is just wrong. You