Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-23 Thread Michael Van Canneyt via lazarus
On Thu, 23 Jul 2020, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 13:23:43 +0200 (CEST), Michael Van Canneyt via lazarus wrote: The lazserial seems to be a wrapper around lazsynaser, which I assume is from synapse. You should be OK just using directly lazsynaser. It has no GUI

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 13:23:43 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >The lazserial seems to be a wrapper around lazsynaser, which I assume is from >synapse. > >You should be OK just using directly lazsynaser. > >It has no GUI dependencies. The drawback is probably that you must

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 13:24:58 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> OTOH it does not start the TCP server by the looks of it, but that is >> another problem that belongs to the normal tracing of the >> functionality. That was caused by a missing call to "StartServer" It now

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 12:23:42 +0200, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 11:55:27 +0200, Bo Berglund via lazarus wrote: Then while chasing a strange error concerning wsmenus I changed from what it was in the beginning to

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 12:34:34 +0200 (CEST), Michael Van Canneyt via lazarus wrote: Then while chasing a strange error concerning wsmenus I changed from what it was in the beginning to nogui. It means you have somewhere a reference to a

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 12:23:42 +0200, Bo Berglund via lazarus wrote: >On Wed, 22 Jul 2020 11:55:27 +0200, Bo Berglund via lazarus > wrote: > >>Then while chasing a strange error concerning wsmenus I changed from >>what it was in the beginning to nogui. >> >>Now I do not know how to cancel that

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 12:34:34 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> Then while chasing a strange error concerning wsmenus I changed from >> what it was in the beginning to nogui. > >It means you have somewhere a reference to a LCL/VCL unit. > >Probably your use of TTimer caused

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: OK, so I created this program as a simple program with no template. In Delphi it was a TService descendant, but now i want it to just be a normal console program, which I can run as a service under Systemd on Linux. Then while chasing a

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 11:55:27 +0200, Bo Berglund via lazarus wrote: >Then while chasing a strange error concerning wsmenus I changed from >what it was in the beginning to nogui. > >Now I do not know how to cancel that change and get back to what it >was before (it needs to be a console app and

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 11:21:07 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: > >> On Wed, 22 Jul 2020 08:09:08 +0300, "Alexey Tor. via lazarus" >> wrote: >> >>> On gtk2 it calls TGtk2WidgetSet.CreateTimer, which calls

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Ondrej Pokorny via lazarus
On 22.07.2020 11:44, Michael Van Canneyt via lazarus wrote: Probably the NNTP mirror is still using the old address in that case. Unfortunately, I don't know who maintains it... I do not maintain it, but I requested an email address update for the lazarus mailing list on

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 11:21:07 +0200 (CEST), Michael Van Canneyt via lazarus wrote: PS. Please change the lazarus mailing list address you use to It seems you're still using the old laza...@lists.lazarus.freepascal.org People doing a

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 11:21:07 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >PS. >Please change the lazarus mailing list address you use to > >It seems you're still using the old laza...@lists.lazarus.freepascal.org >People doing a reply and don't pay attention will send the reply twice,

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Jul 2020, Bo Berglund via lazarus wrote: On Wed, 22 Jul 2020 08:09:08 +0300, "Alexey Tor. via lazarus" wrote: On gtk2 it calls TGtk2WidgetSet.CreateTimer, which calls gtk_timeout_add() I cannot find in inet, about max number of 'timeouts' in gtk2. Alexey I am using:

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Bo Berglund via lazarus
On Wed, 22 Jul 2020 08:09:08 +0300, "Alexey Tor. via lazarus" wrote: >On gtk2 it calls TGtk2WidgetSet.CreateTimer, which calls gtk_timeout_add() >I cannot find in inet, about max number of 'timeouts' in gtk2. > >Alexey I am using: LCLWidgetType:=nogui This is a console program, which I guess I

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-21 Thread Alexey Tor. via lazarus
On gtk2 it calls TGtk2WidgetSet.CreateTimer, which calls gtk_timeout_add() I cannot find in inet, about max number of 'timeouts' in gtk2. Alexey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-21 Thread Bo Berglund via lazarus
I have ported a Delphi service application from Windows to a console application on Linux. I am using Lazarus 2.0.8/Fpc 3.0.4 on Raspbian Buster on an RPi4B. Today I finally could start it the first time and it immediately threw an exception with this printed to the console: