Re: [fpc-pascal] gdk_window_get_frame_extents

2007-06-03 Thread Flávio Etrusco
On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > var > grect :PGdkRectangle; > > begin > gdk_window_get_frame_extents(GDK_WINDOW(widget^.window),@grect); > > > configure_event := True; > end; > === fpc header for the gdk function is

Re: [fpc-pascal] gdk_window_get_frame_extents

2007-06-03 Thread jasj
> > > var > grect :PGdkRectangle; > > begin > gdk_window_get_frame_extents(GDK_WINDOW(widget^.window),@grect); > > > configure_event := True; > end; > === fpc header for the gdk function is procedure gdk_

Re: [fpc-pascal] FPC only 32 bits?

2007-06-03 Thread Aleksey Y. Ulasevich (STAKANOV)
Michael Van Canneyt ?: It's a deficiency of the port. I run 64 bit FPC every day, even my Lazarus is 64-bit :-) Hmm.. Where I can get FPC port for FreeBSD-amd64? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

Re: [fpc-pascal] Unit for working with Lists, Double Linked Lists and Stacks

2007-06-03 Thread Cesar Romero
Catalin, Because it's GPL/GNU? :) Exactly []s Cesar Romero On Monday 04 June 2007 04:23, Cesar Romero wrote: Catalin, Interesting stuff, unhappily the licence dont allow me to use in my business app. []s Cesar Romero Hello, Just wanted to contribute my two cents wit

Re: [fpc-pascal] Get Timestamp since 1970 (linux)

2007-06-03 Thread Catalin Zamfir Alexandru
See the dateutls unit provided by FPC. On Monday 04 June 2007 02:22, TOUZEAU DAVID wrote: > Dear > > Is there a function that help me to calculate seconds since 1970 year ? > > exactly the same of this command : > > /bin/date +%s -d 20070103 > > best regards pgp5xqIQ1r2Yg.pgp Description: PGP si

Re: [fpc-pascal] Unit for working with Lists, Double Linked Lists and Stacks

2007-06-03 Thread Catalin Zamfir Alexandru
Because it's GPL/GNU? :) On Monday 04 June 2007 04:23, Cesar Romero wrote: > Catalin, > > Interesting stuff, unhappily the licence dont allow me to use in my > business app. > > []s > > Cesar Romero > > > Hello, > > Just wanted to contribute my two cents with this homemade Unit [attached > >

Re: [fpc-pascal] Unit for working with Lists, Double Linked Lists and Stacks

2007-06-03 Thread Cesar Romero
Catalin, Interesting stuff, unhappily the licence dont allow me to use in my business app. []s Cesar Romero Hello, Just wanted to contribute my two cents with this homemade Unit [attached to the mail] for working with: - Simple Linked Lists; - Double Linked Lists; - Stacks; Don't know

[fpc-pascal] Get Timestamp since 1970 (linux)

2007-06-03 Thread TOUZEAU DAVID
Dear Is there a function that help me to calculate seconds since 1970 year ? exactly the same of this command : /bin/date +%s -d 20070103 best regards -- David Touzeau -- Linux Ubuntu Dapper 6.0.6 FreePascal-Lazarus,perl,delphi,php icq:160018849

Re: [fpc-pascal] gdk_window_get_frame_extents

2007-06-03 Thread Airr
On Sun, 3 Jun 2007 19:10:02 -0300 "Flávio Etrusco" <[EMAIL PROTECTED]> wrote: > I don't have access to FPC right now, but it seems as if PGdkRectangle > is a pointer type already, not a record type? > > -Flávio Thanks for that. If I replace the PGtkRectangle with a TRect, or a simple home-grown

Re: [fpc-pascal] gdk_window_get_frame_extents

2007-06-03 Thread Flávio Etrusco
I don't have access to FPC right now, but it seems as if PGdkRectangle is a pointer type already, not a record type? -Flávio On 6/3/07, Airr <[EMAIL PROTECTED]> wrote: Hello, all. I'm trying to get the current position and size of a GTK2 gtkwindow using the following: === function configure_e

[fpc-pascal] gdk_window_get_frame_extents

2007-06-03 Thread Airr
Hello, all. I'm trying to get the current position and size of a GTK2 gtkwindow using the following: === function configure_event(widget: PGtkWidget; event : PGdkEvent; data : gpointer):gboolean;cdecl; var grect :PGdkRectangle; begin gdk_window_get_frame_extents(GDK_WINDOW(widget^.window),

Re: [fpc-pascal] FPC only 32 bits?

2007-06-03 Thread Michael Van Canneyt
On Sun, 3 Jun 2007, Francisco Reyes wrote: > Just tried to install the FPC port in a AMD64 FreeBSD and got an error that it > was an i386 only port. > > Is this a deficiency of the port in FreeBSD or is FPC only 32bits? It's a deficiency of the port. I run 64 bit FPC every day, even my Lazaru

Re: [fpc-pascal] FPC only 32 bits?

2007-06-03 Thread Marco van de Voort
> Just tried to install the FPC port in a AMD64 FreeBSD and got an error that > it was an i386 only port. > > Is this a deficiency of the port in FreeBSD or is FPC only 32bits? Yes. I tried to get it running on AMD64 (and the results are in SVN), but the binary won't run and I don't fully unders

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Michael Van Canneyt
On Sun, 3 Jun 2007, John Coppens wrote: > On Sun, 3 Jun 2007 16:55:23 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Is it possible to delay a SOAP call a few seconds at the service > > > provider (until new data is available)? Hmm, this reveals the question > > > what ar

[fpc-pascal] FPC only 32 bits?

2007-06-03 Thread Francisco Reyes
Just tried to install the FPC port in a AMD64 FreeBSD and got an error that it was an i386 only port. Is this a deficiency of the port in FreeBSD or is FPC only 32bits? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
Hi! > > Is it possible to delay a SOAP call a few seconds at the service > > provider (until new data is available)? Hmm, this reveals the question > > what are the timeouts for TCP/IP connection and for the web services? > > I think a few seconds are possible, a timeout is usually longer than >

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread John Coppens
On Sun, 3 Jun 2007 16:55:23 +0200 (CEST) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Is it possible to delay a SOAP call a few seconds at the service > > provider (until new data is available)? Hmm, this reveals the question > > what are the timeouts for TCP/IP connection and for the web se

Re: [fpc-pascal] Linux Linking Error

2007-06-03 Thread Michael Van Canneyt
On Sun, 3 Jun 2007, Rick Seiden wrote: > Using Ubuntu 6.10 under VMWare, I get an error when I try to compile any > program. The error is not real descriptive, and isn't really helpful. It > puts the error at the last line (end.) in the first column, and all it says is > Error while linking.

[fpc-pascal] Linux Linking Error

2007-06-03 Thread Rick Seiden
Using Ubuntu 6.10 under VMWare, I get an error when I try to compile any program. The error is not real descriptive, and isn't really helpful. It puts the error at the last line (end.) in the first column, and all it says is Error while linking. I've googled, and it doesn't look to be a 32bi

Re: [fpc-pascal] Standby socket servers?

2007-06-03 Thread Francisco Reyes
Marco van de Voort writes: Aren't there three versions already? The original had the later "Advanced programming" volume as a mere chapter. In the second they are splitted, and the third is fairly recent I don't think it will make much difference which version I got.. since the examples are i

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Michael Van Canneyt
On Sun, 3 Jun 2007, Johann Glaser wrote: > Hi! > > > > Usually the frontend does a remote procedure call to the backend. There > > > is one important problem I'm facing now. I want the backend (service > > > provider) to notify the frontend (service consumer) as soon as a new > > > measurement

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
Hi! > > Usually the frontend does a remote procedure call to the backend. There > > is one important problem I'm facing now. I want the backend (service > > provider) to notify the frontend (service consumer) as soon as a new > > measurement value has arrived. So this is the reverse direction of >

Re: [fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Michael Van Canneyt
On Sun, 3 Jun 2007, Johann Glaser wrote: > Hi! > > I'm going to implement a data logger and a GUI frontend in FreePascal. > One (daemon) program gets data from a device connected via USB and > stores it to a file. A second program, the GUI frontend, connects to the > daemon and can retrieve the

[fpc-pascal] Web Service Toolkit - Notify the Client

2007-06-03 Thread Johann Glaser
Hi! I'm going to implement a data logger and a GUI frontend in FreePascal. One (daemon) program gets data from a device connected via USB and stores it to a file. A second program, the GUI frontend, connects to the daemon and can retrieve the measured data and other stuff. Additionally it can send

Re: [fpc-pascal] Serial Programming

2007-06-03 Thread Marc Santhoff
Am Sonntag, den 03.06.2007, 12:38 +0200 schrieb Rainer Stratmann: > Am Sonntag, 3. Juni 2007 09:38 schrieb Marco van de Voort: > > > porting to the new 2.1.4 Version, I tried to convert the serial stuff, > > > because there is nomore oldlinux unit. > > > I can not find the equivalent unit(s) for th

Re: [fpc-pascal] Serial Programming

2007-06-03 Thread Marco van de Voort
> Am Sonntag, 3. Juni 2007 09:38 schrieb Marco van de Voort: > > > porting to the new 2.1.4 Version, I tried to convert the serial stuff, > > > because there is nomore oldlinux unit. > > > I can not find the equivalent unit(s) for the serial stuff. > > > Is there someone who is serial interface exp

Re: [fpc-pascal] Serial Programming

2007-06-03 Thread Rainer Stratmann
Am Sonntag, 3. Juni 2007 09:38 schrieb Marco van de Voort: > > porting to the new 2.1.4 Version, I tried to convert the serial stuff, > > because there is nomore oldlinux unit. > > I can not find the equivalent unit(s) for the serial stuff. > > Is there someone who is serial interface experienced?

Re: [fpc-pascal] Creating librarys dont work ever with fpc 2.1.4

2007-06-03 Thread Felipe Monteiro de Carvalho
On 6/3/07, Christian Ulrich <[EMAIL PROTECTED]> wrote: When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild it, an project1 executable is created. with fpc 2.0.4 this creates always

Re: [fpc-pascal] Standby socket servers?

2007-06-03 Thread Marco van de Voort
> Francisco Reyes wrote: > > > > Do you know of any place, or sample code, that I can see how non > > blocking sockets work? > Francisco, > > The "bible" on this type of programming is Richard Steven's _Unix > Network Programming_. I have both the old version of the book, as well > as Volume 1

Re: [fpc-pascal] Serial Programming

2007-06-03 Thread Marco van de Voort
> porting to the new 2.1.4 Version, I tried to convert the serial stuff, > because > there is nomore oldlinux unit. > I can not find the equivalent unit(s) for the serial stuff. > Is there someone who is serial interface experienced? The terminal IO stuff in unit Linux moved to unit termio, and

[fpc-pascal] Creating librarys dont work ever with fpc 2.1.4

2007-06-03 Thread Christian Ulrich
When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild it, an project1 executable is created. with fpc 2.0.4 this creates always an lib as expected. anybody an idea ? is this an bug