Re: [Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Bo Berglund via lazarus
On Tue, 24 Sep 2024 11:20:26 +0200, Martin Frb via lazarus wrote: >On 24/09/2024 09:09, Bo Berglund via lazarus wrote: >> I have run into a problem where certain customers require the applications >> to be >> "signed" and now I wonder if there is an option som

[Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

2024-09-24 Thread Bo Berglund via lazarus
I have run into a problem where certain customers require the applications to be "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to do that when building an app? If so how does one go about it? Googling brings up stuff about Windows SDK etc, but I want to stay with FPC

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 00:54:59 +0100, Bo Berglund via lazarus wrote: >I wrote a commit reporting application for Windows Server16 back in 2018 using >then current Lazarus/Fpc. >It is a command line program called from a hook in subversion to distribute the >log message and details of c

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sun, 14 Jan 2024 12:54:08 +0100 (CET), Michael Van Canneyt via lazarus wrote: >The synapse package is not installed in the IDE, it does not >install any components on the component palette. > >The Synapse package just offers classes which you must create in code. > >But once you compiled the p

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-14 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 17:03:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >You could also use Synapse. I always prefer synapse over Indy. > So I have now verified that I cannot use Indy10 for email sending anymore :( ... I have used Indy since a very long time like 20 years or so when de

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 17:03:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >Or you use the system installed mailer. That's what I do. >I write the mail to file and invoke sendmail. > >No hassle with TLS, failed connections and whatnot. >sendmail will do what it takes, even retry in case of

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 09:30:17 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Sat, 13 Jan 2024, Bo Berglund via lazarus wrote: > >> I wrote a commit reporting application for Windows Server16 back in 2018 >> using >> then current Lazarus/Fpc. >>

Re: [Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-13 Thread Bo Berglund via lazarus
On Sat, 13 Jan 2024 09:31:19 +0100, Jean SUZINEAU via lazarus wrote: >I am not sure but it looks like your program is using TLS v1 protocol. >I think that TLS v1 is deprecated and now your SMTP mailserver requires >a newer version of TLS. >May be your SMTP mailserver / Windows Server 2016 has be

[Lazarus] Email sending program using Indy stopped working - seems to be an SSL problem

2024-01-12 Thread Bo Berglund via lazarus
I wrote a commit reporting application for Windows Server16 back in 2018 using then current Lazarus/Fpc. It is a command line program called from a hook in subversion to distribute the log message and details of commits among co-workers. It uses Indy 10.6.2 to do its job. The mailer class has thes

[Lazarus] Proper procedure after changing files for an installed package?

2023-12-25 Thread Bo Berglund via lazarus
This is using Lazarus 3.0.0. I have a package with a GUI component which files I have downloaded on-line. The files are stored in a subdirectory to the pcp directory of Lazarus. The package has been "installed" in Lazarus earlier. Now I have retrieved updated files for this package and I wonder wh

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-11 Thread Bo Berglund via lazarus
On Mon, 11 Dec 2023 07:49:25 +0300, Mehmet Erol Sanliturk via lazarus wrote: >( 1 ) > >Please notice statement 3 : > >1 unit UITypes >2 {$IF FPC_FULLVERSION >= 30200} >3 deprecated 'Use System.UITypes instead (available since FPC 3.2.0)'; > >( 2 ) > >Present form of this unit is defective : > >2

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
On Sun, 10 Dec 2023 20:10:38 +0300, Mehmet Erol Sanliturk via lazarus wrote: >There is a statement > > 90 {$ENDIF} > >Its outside of {$IFDEF } is not listed . >It is very likely that > >mrNone..mrLast > >values are defined outside of ( IFDEF , ENDIF ) pairs . > Below is the full text of that f

Re: [Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
On Sun, 10 Dec 2023 20:01:15 +0300, Maxim Ganetsky via lazarus wrote: >> So I am using the self-compiled fpc 3.2.3 to build Lazarus 2.2.6 and it fails >> during build with the following exit message (only end of output shown): >This combination of FPC and Lazarus won't work. You should use head

[Lazarus] Lazarus 2.2.6 on Raspberry Pi5B, error during build

2023-12-10 Thread Bo Berglund via lazarus
I am setting up my new RPi3B with 64 bit Pi-OS Bookworm and have now come to FreePascal/Lazarus. Freepascal is built from sources (trunk of 3.2.3) using a seed compiler 3.2.2 earlier obtained as an apt install on an RPi4B also running Pi-OS 64 bit Bookworm. On this new system I want to build from

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-08 Thread Bo Berglund via lazarus
On Fri, 8 Dec 2023 09:18:17 +0100, Jean SUZINEAU via lazarus wrote: >May be you'll find some information in the log, something like : > >cat /var/log/xrdp.log > This is how the 13 minute session end was logged: [20231207-21:44:04] [INFO ] sesman connect ok [20231207-21:44:04] [INFO ] sending lo

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-07 Thread Bo Berglund via lazarus
On Thu, 07 Dec 2023 18:34:57 +0100, Bo Berglund via lazarus wrote: >I will make a new attempt by starting over from scratch on a new system disk >and >just install fpc/lazarus and of course xrdp so I can use the desktop on the >headless system. But it will take some time to reach th

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-07 Thread Bo Berglund via lazarus
On Mon, 04 Dec 2023 19:18:28 +0100, Bo Berglund via lazarus wrote: >Has anyone here managed to get Lazarus 2.2.6 running on a headless Raspberry >Pi4B with 32 bit PiOS bookworm and using VNC to access it? So the mystery remains even after I have done this on my RPi4B: - Stopped and di

Re: [Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-07 Thread Bo Berglund via lazarus
On Thu, 7 Dec 2023 00:34:01 +0100, Mattias Gaertner via lazarus wrote: > > >On 07.12.23 00:05, Bo Berglund via lazarus wrote: >> Since every customization of Lazarus means the IDE must be rebuilt it also >> means >> that Lazarus must be installed where the current

[Lazarus] Can I rebuild Lazarus installed via apt on an RPi4B?

2023-12-06 Thread Bo Berglund via lazarus
Since every customization of Lazarus means the IDE must be rebuilt it also means that Lazarus must be installed where the current user has permissions to do that. But when installing stuff via sudo apt install package it normally gets into read-only locations, right? So how does this work? I hav

Re: [Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-04 Thread Bo Berglund via lazarus
On Mon, 04 Dec 2023 15:58:59 +0100, Bo Berglund via lazarus wrote: >I have built a new system where I have installed fpc 3.2.2 and Lazarus 2.2.4 >from sources like I normally do. > >In this case I have encountered a very strange issue never seen before but >repeatable using both

[Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit

2023-12-04 Thread Bo Berglund via lazarus
I have built a new system where I have installed fpc 3.2.2 and Lazarus 2.2.4 from sources like I normally do. In this case I have encountered a very strange issue never seen before but repeatable using both 2.2.4 and 2.2.6. All seems OK until I use the Tools/Options/Editor/Display/Color window to

Re: [Lazarus] Lazarus make clean fails...

2023-12-04 Thread Bo Berglund via lazarus
On Mon, 4 Dec 2023 11:40:02 +0100 (CET), Michael Van Canneyt via lazarus wrote: >If you have multiple compilers on your system, you may be using a different >compiler compared to when you do not specify this parameter. I have several fpc:s too... >I always specify the starting compiler (because

Re: [Lazarus] Lazarus make clean fails...

2023-12-04 Thread Bo Berglund via lazarus
On Sun, 3 Dec 2023 21:45:57 +0100 (CET), Michael Van Canneyt via lazarus wrote: >> Now I still get the same error when I try to do the make clean operation. >> >> ~/devtools/lazarus/2.2.6 $ make clean >> make: -iVSPTPSOTO: No such file or directory >> Makefile:234: *** The Makefile doesn't suppor

Re: [Lazarus] Lazarus make clean fails...

2023-12-03 Thread Bo Berglund via lazarus
On Sat, 02 Dec 2023 19:03:41 +0100, Bo Berglund via lazarus wrote: >And concerning the compiler: > >$ which fpc >/home/bosse/bin/fpc > >$ which ppcarm >/home/bosse/bin/ppcarm > >$ fpc >Free Pascal Compiler version 3.2.2 [2023/11/29] for arm > >$ ppcarm >F

[Lazarus] Lazarus make clean fails...

2023-12-02 Thread Bo Berglund via lazarus
I have installed Lazarus 2.2.6 from sources on my RPi4B using fpc 3.2.0. This works fine. Then I compiled fpc 3.2.2 to get to a later version and did a make install/make sourceinstall on that version of fpc. Then I wanted to rebuild Lazarus with the new fpc so I first tried with a Lazarus rebuild

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 19:29:58 +0100, Bo Berglund via lazarus wrote: >- Set video speed --- >To set the speed this is what I use in my code: > >procedure TfrmMain.btnFFClick(Sender: TObject); >begin > vlcPlayer.SetPlayRate(speSpeed.Value); >

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 18:05:22 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Tue, 21 Nov 2023, Bo Berglund via lazarus wrote: > >Where did you find paslibvlc ? I found it here years ago: https://prog.olsztyn.pl/paslibvlc/ And the first commit to my video tool in s

Re: [Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
On Tue, 21 Nov 2023 16:23:37 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Tue, 21 Nov 2023, Bo Berglund via lazarus wrote: > >> As I have written in other posts I am trying to port a video application from >> Windows to Linux, specifically on Raspberry Pi4B

[Lazarus] PasLibVLC based video player does not run on Linux...

2023-11-21 Thread Bo Berglund via lazarus
As I have written in other posts I am trying to port a video application from Windows to Linux, specifically on Raspberry Pi4B with either bullseye or bookworm operating systems. The application runs very well on Windows and is based on PasLibVLC found here: https://prog.olsztyn.pl/paslibvlc/ But

Re: [Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-20 Thread Bo Berglund via lazarus
On Sun, 19 Nov 2023 14:50:34 +0100, Bo Berglund via lazarus wrote: >Lazarus contains LibVLC as a standard package available to be installed in the >GUI using Package/Install-remove packages! No download needed from external >sources! >Anyway, I have been experimenting with the ex

Re: [Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-19 Thread Bo Berglund via lazarus
On Sun, 19 Nov 2023 14:50:34 +0100, Bo Berglund via lazarus wrote: >procedure TfrmMainVlc.FormCreate(Sender: TObject); >begin > FPlayer:=TLCLVLCPlayer.Create(Self); > FPlayer.ParentWindow:=PVideo; > FPlayer.OnPositionChanged:=@DoPositionChanged; //Set event handle

[Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-19 Thread Bo Berglund via lazarus
I created a video editing tool back in 2018 or so in order to help pinpointing cut points for editing mp4 videos. At the time I did not find anything useful other than PasLibVLC, which I have been using since then on Windows. It works OK for what I need but I have to install the custom package int

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 18:49:46 +0100, Bo Berglund via lazarus wrote: >On Thu, 16 Nov 2023 16:49:25 +0100, Werner Pamler via lazarus > wrote: > >>Am 16.11.2023 um 13:30 schrieb Bo Berglund via lazarus: >>> 2) Retrieve the Lazarus 2.2.6 sources from GitLab >>IIRC, the

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 16:49:25 +0100, Werner Pamler via lazarus wrote: >Am 16.11.2023 um 13:30 schrieb Bo Berglund via lazarus: >> 2) Retrieve the Lazarus 2.2.6 sources from GitLab >IIRC, the fppkg check has been by-passed by Laz 3.0. So, please try to >install the RC2 of v3, or

Re: [Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
On Thu, 16 Nov 2023 14:27:27 +0100, John Landmesser via lazarus wrote: >Am 16.11.23 um 13:30 schrieb Bo Berglund via lazarus: >> I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit >> operating >> system. >> I first tried to use fpcupdeluxe to do it

[Lazarus] How to generate the fppkg.cnf file which Lazarus complains about when starting?

2023-11-16 Thread Bo Berglund via lazarus
I have installed Lazarus on a Raspberry Pi4B running bookworm 64 bit operating system. I first tried to use fpcupdeluxe to do it but it fails miesrably with a linker error when building fpc. So then I decided to try the following: 1) Use apt install fpc to getb the latest 3.2.2 compiler installed.

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 21:53:11 +0100, Bo Berglund via lazarus wrote: >I refer the discussion over to the Lazarus forum (see link above). Just a quick follow-up here: It seems like the fpc sources have not been updated with the solution to the bug discussed here: https://gitlab.com/freepascal.

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 20:25:58 +0300, Alexey Torgashin via lazarus wrote: >> then I have to use fpcupdeluxe to install Lazarus + FPC then. > >Lazarus can be old. Only FPC need to be installed from Deluxe. Old >Lazarus - in it, specify path for new FPC. >Alex I asked on the Lazarus forum as well,

Re: [Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
On Wed, 15 Nov 2023 19:52:51 +0300, Alexey Torgashin via lazarus wrote: >fpcUpDeluxe allows to install additional FPC folder. with 'crosses' - >for ex, I have additional FPC on Linux with crosses for Windows, Linux >ARM, *BSD x32+x64, macOS x64+ARM. In the IDE you can specify that new >FPC ins

[Lazarus] Lazartus on RaspberryPi 64 bit - build for all RPi versions?

2023-11-15 Thread Bo Berglund via lazarus
I have now installed the 64 bit version of PiOS on an RPi4B device. If I install Lazarus/FPC on that can it create applications both for 32 and 64 bit RPi operating systems? Or do I have to install two versions of Lazarus and/or FPC to be able to do that? It would be nice to have only one Lazaru

Re: [Lazarus] MJPEG streamer

2023-07-23 Thread Bo Berglund via lazarus
On Sun, 23 Jul 2023 18:35:05 +1000, Steve Gatenby via lazarus wrote: >Would anybody know if there is a component / code to enable reading an >mjpeg stream from a http camera to a Lazarus form/panel (or anything really) > >Dont mind installing libraries etc - > >Looking to suit Linux specifically

Re: [Lazarus] Cannot use bookmarks in code window - why?

2023-04-23 Thread Bo Berglund via lazarus
On Sun, 23 Apr 2023 19:55:48 +0200, Martin Frb via lazarus wrote: >On 23/04/2023 19:39, Bo Berglund via lazarus wrote: >> I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine >... >> I have looked at the same version of Lazarus on my Windows workstation and

[Lazarus] Cannot use bookmarks in code window - why?

2023-04-23 Thread Bo Berglund via lazarus
I have started a new project in Lazarus 2.2.6/Fpc3.2.2 on a Linux machine (RaspberryPi4). I installed Laz/Fpc using fpcupdeluxe if that matters. Now I have gotten to a project size that really needs the ability to set/clear/jumpto bookmarks. But I have found no way to set a bookmark here! I am pr

Re: [Lazarus] Code editor column mode does not work...

2023-04-23 Thread Bo Berglund via lazarus
On Wed, 19 Apr 2023 21:50:07 +0200, Marco van de Voort via lazarus wrote: > >On 19-4-2023 19:24, Martin Frb via lazarus wrote: >> >> Sounds like the OS / desktop manager grabs the mouse first. >> >> 2 possibilities. >> >> 1) change the OS config (if possible / I don't know) >> >> 2) Tools > Optio

Re: [Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

2023-04-19 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 13:32:12 +0200, Martin Frb via lazarus wrote: > >On 16/04/2023 11:15, Bo Berglund via lazarus wrote: >> - Use Run menu Build or Compile: no symbols should be included. >> - Click the green run arrow button then the symbols will be included. > > >

[Lazarus] Code editor column mode does not work...

2023-04-19 Thread Bo Berglund via lazarus
I am coding on a headless RaspberryPi4B via RealVNC and it works rather well from my Windows 10 workstation. But there is one item I have yet to figure out: How can I enable column selection with the mouse? If I use the Alt key and click where I want to start the selection then when I move the mo

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-19 Thread Bo Berglund via lazarus
On Mon, 17 Apr 2023 10:32:51 +0200, Mattias Gaertner via lazarus wrote: >On Mon, 17 Apr 2023 10:11:28 +0200 >Giuliano Colla via lazarus wrote: > >> Il 17/04/2023 08:15, Bo Berglund via lazarus ha scritto: >> >> > You never stop learning! >> >> An

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 20:25:18 +0200, Jean SUZINEAU via lazarus wrote: >Unfortunately my lazarus is installed in French , I don't have the exact >label of the menu item in English, > >But usually for this kind of problem I use "Nettoyer et construire" in >"Exécuter" menu. > >I imagine that in Eng

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 10:58:18 +0200, Bo Berglund via lazarus wrote: >And now the project as checked out via subversion builds fine and works as it >should. It builds both on Windows10 and on RaspberryPi4. > >So the errors I had before must be related to the older operating system &

[Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

2023-04-16 Thread Bo Berglund via lazarus
Las 2.2.6/Fpc 3.2.2 I use the config item: Project/ProjectOptions/CompilerOptions/Debugging/GenerateInfoForTheDebugger in order to include symbols or not in the executable. Now I wonder if there is some way to configure this such that it works like this: - Use Run menu Build or Compile: no symbo

Re: [Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-16 Thread Bo Berglund via lazarus
On Sat, 15 Apr 2023 13:41:57 +0200, Bo Berglund via lazarus wrote: >I have a project that builds fine on one RPi4 where I have installed Lazarus >2.2.6/Fpc 3.2.2 from sources. >This is a rather old device and I am trying to create a backup build unit to >migrate into >On this I

[Lazarus] Strange linker messages "undefined reference" when building on RPi4 - CompileLog_2022-04-15.log (0/1)

2023-04-15 Thread Bo Berglund via lazarus
I have a project that builds fine on one RPi4 where I have installed Lazarus 2.2.6/Fpc 3.2.2 from sources. This is a rather old device and I am trying to create a backup build unit to migrate into On this I have installed the same versions but using fpcupdeluxe for arm-linux. On the new unit some

[Lazarus] Lazarus 2.2.6/Fpc 3.2.2 Win-32 - Cannot add desktops, why?

2023-04-10 Thread Bo Berglund via lazarus
I was following my notes on how to configure a newly installed Lazauus to my liking when I stumbled across an item I have not seen AFAICT: Normally I configure different desktops to use for different types of application, for example the one for standard GUI applications is different from what I u

Re: [Lazarus] AutoSave does not save project file...

2023-04-06 Thread Bo Berglund via lazarus
On Thu, 20 May 2021 21:10:10 +0200, Bo Berglund via lazarus wrote: >On Sun, 11 Apr 2021 11:29:36 +0200, Bo Berglund via lazarus > wrote: > >>I have installed AutoSave from the OnlinePackageManager on all of my numerous >>Lazarus installations and in general it works well. &

Re: [Lazarus] Lazarus/Fpc on RaspberryPi4 - linkxxx.res files stack up, why?

2023-04-05 Thread Bo Berglund via lazarus
On Wed, 5 Apr 2023 23:06:09 +0200, John Landmesser via lazarus wrote: >Am 05.04.23 um 20:50 schrieb Bo Berglund via lazarus: >> Does someone here know what I can do in order not having my project folder >> polluted by numerous files named link.res where is a decimal numbe

[Lazarus] Lazarus/Fpc on RaspberryPi4 - linkxxx.res files stack up, why?

2023-04-05 Thread Bo Berglund via lazarus
Does someone here know what I can do in order not having my project folder polluted by numerous files named link.res where is a decimal number apparently random in nature? Yesterday I removed about 20 of these files and now again I have 8 new such files in the directory... Is there some s

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Bo Berglund via lazarus
On Sat, 01 Apr 2023 09:37:00 +0200, Bo Berglund via lazarus wrote: >On Sat, 1 Apr 2023 01:58:05 +0200, Giuliano Colla via lazarus > wrote: > >>Among the internet examples of Delphi 7 you should find a small app named >>netchat, >>which provides a basic IPC. It’s quite

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-01 Thread Bo Berglund via lazarus
On Sat, 1 Apr 2023 01:58:05 +0200, Giuliano Colla via lazarus wrote: >Among the internet examples of Delphi 7 you should find a small app named >netchat, >which provides a basic IPC. It’s quite simple and bullet-proof. I’ve converted >to >Lazarus on Linux, and used as a base for my needs of IP

[Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-03-31 Thread Bo Berglund via lazarus
I am investigating the possibilities to use IPC between a Lazarus and a Delphi7 application running on Windows. I was discussing this on the Lazarus forum where I got a tip to use SimpleIPC, which apparently is delivered with the Fpc compiler itself. The tip was given in this post: https://forum.l

[Lazarus] Can older Lazarus use newer FPC?

2023-03-28 Thread Bo Berglund via lazarus
If I already have some Lazarus versions installed when FPC stable was 3.0.4 and I later install FPC 3.2.0 or 3.2.2, can I then change the compiler to use for the older Lazarus versions to the new Fpc? If I look at the Lazarus Tools/Options/Environment/Files I see items like: Compiler executable:

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-26 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 20:48:29 +0100, Giuliano Colla via lazarus wrote: >Il 16/03/2023 18:46, Bo Berglund via lazarus ha scritto: > >> I have a number of Lazarus releases installed where 3.0.4 is the fpc used. >> So they all used the same and there was no problem. >> (This

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:28:28 +0100 (CET), Michael Van Canneyt via lazarus wrote: >> Since I am only using FPC units, how can I know??? > >You want to say that you don't even know what the units do that you are using ? > >You have no idea how scary that is to me... > No, I wanted to say how could

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 14:17:11 +0100, Sven Barth via lazarus wrote: >Bo Berglund via lazarus schrieb am Fr., 17. >März 2023, 13:54: >> This aplication is a console (i.e NO GUI) application and it only uses >> these >> units: >> >> videosplitcmb.lpr: >>

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus wrote: >FPC has not changed. It still works the same. >Everything that is under control of FPC is linked statically. > >But a complex GUI system like the LCL uses GTK/GDK/Qt and other libraries, >and those are dynamic, ex

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Bo Berglund via lazarus
On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus wrote: >Some portability is obtained if the libraries are linked as "static" . >If "dynamic" linking is selected , during execution of the program , >the "same" library should be in the executing computer . > How is this accom

[Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-16 Thread Bo Berglund via lazarus
I have used Lazarus 2.2.6 with fpc 3.2.2 on an Ubuntu 22.04 PC (recently dist-upgraded from 20.04) to modify a video handling command line utility I started back in 2018. It uses calls to ffmpeg to do the actual video stuff and it was originally built using earlier versions of Lazarus (2.0.12) and

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 20:00:02 +0100, Martin Frb via lazarus wrote: >On 16/03/2023 18:46, Bo Berglund via lazarus wrote: >> >> But it also seems like on each system there is only one version of fpc that >> can >> be "active" (at least on Linux) because its co

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-16 Thread Bo Berglund via lazarus
On Thu, 16 Mar 2023 09:05:06 +0100, Martin Frb via lazarus wrote: >On 16/03/2023 07:53, Bo Berglund via lazarus wrote: >> The install seems to have worked, but seeing this release comment I >> now have to >> ask if 3.2.2 is a *requirement* for proper operation or if it j

Re: [Lazarus] Lazarus Release 2.2.6

2023-03-15 Thread Bo Berglund via lazarus
On Thu, 9 Mar 2023 10:31:17 +0100, Mattias Gaertner via lazarus wrote: >The Lazarus team is glad to announce the release of Lazarus 2.2.6. > >This is a bugfix release and was built with FPC 3.2.2. > I did not know of this when I yesterday went to install the latest Lazarus release from sources o

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-23 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 22:59:15 +0100, Werner Pamler via lazarus wrote: >You uninstall a package in the "Package" > "Install/Uninstall packages" >dialog. Select the package to be removed in the left list, click >"Uninstall selection" and then "Save and Rebuild IDE". I did the "Uninstall selection

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 18:05:25 +0100, Ondrej Pokorny via lazarus wrote: >On 22.02.2023 18:01, Bo Berglund via lazarus wrote: >> So now I have found a package in OnLinePackageManager that will hose Lazarus >> if >> installed: >> BGRABitmap >> >> Up un

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Wed, 22 Feb 2023 10:43:35 +0100, Bo Berglund via lazarus wrote: >Lacking any advice here I started over by removing the old Lazarus directory >and >the pcp dir and then build from start with a new set of source files in a fresh >2.2.4 subdir... > >All was Ok until again

Re: [Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-22 Thread Bo Berglund via lazarus
On Tue, 21 Feb 2023 19:18:28 +0100, Bo Berglund via lazarus wrote: >I was trying to nail down the reason for the fppkg errors on start of Lazarus >2.2.4. >I had the install running fine except for the Config screen showing up on every >start of Lazarus with an error message about fp

[Lazarus] Lazarus and FreePascal version relations on Linux and Windows?

2023-02-22 Thread Bo Berglund via lazarus
I have used Lazarus on Windows and Linux many years and I have built the Linux versions from sources but used the official installer for Windows. On Linux I have had parallel versions of Lazarus but usually the same FPC and this has worked fine. I think that on Linux the FPC becomes a global versi

[Lazarus] Screwed up Lazarus installation - how to make clean and start over?

2023-02-21 Thread Bo Berglund via lazarus
I was trying to nail down the reason for the fppkg errors on start of Lazarus 2.2.4. I had the install running fine except for the Config screen showing up on every start of Lazarus with an error message about fppkg... So I proceeded to install my usual set of packages from OLPM, but when I had se

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-21 Thread Bo Berglund via lazarus
On Tue, 21 Feb 2023 11:46:57 +0100, Luca Olivetti via lazarus wrote: >El 21/2/23 a les 11:12, Bo Berglund via lazarus ha escrit: > >> So it is definitely about the Lazarus version 2.2.4! > > >I know that this won't help you, but just for the record I have Lazarus >

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-21 Thread Bo Berglund via lazarus
On Thu, 9 Feb 2023 22:37:20 +0100, Martin Frb via lazarus wrote: >On 09/02/2023 21:57, Bo Berglund via lazarus wrote: >> And it seems to be looking for $HOME/.config/fppkg.cfg even though I >> am using >> separate install dirs for Lazarus 2.0.12 and 2.2.4 and the launch

Re: [Lazarus] Using packages for often used units across projects?

2023-02-14 Thread Bo Berglund via lazarus
On Sun, 12 Feb 2023 15:35:27 +0100, Luca Olivetti via lazarus wrote: > >https://wiki.lazarus.freepascal.org/Lazarus_Packages#Creating_a_package_for_your_common_units > > Follow-up question: --- Suppose I make a package with about 10 non-GUI utility units and use the Package Manag

Re: [Lazarus] Using packages for often used units across projects?

2023-02-12 Thread Bo Berglund via lazarus
On Sun, 12 Feb 2023 15:35:27 +0100, Luca Olivetti via lazarus wrote: >El 12/2/23 a les 14:44, Bo Berglund via lazarus ha escrit: > >> I found the wiki page: >> https://wiki.lazarus.freepascal.org/Lazarus_Packages >> >> it seems not to describe my use case, I believ

[Lazarus] Using packages for often used units across projects?

2023-02-12 Thread Bo Berglund via lazarus
I am working on porting a set of applications (company internal tools and utilities mostly) from Delphi to FPC/Lazarus and now I have encountered use of a number of same units in several different applications. It seems not so good to copy the files into each project. In Delphi they were accessed

Re: [Lazarus] How to make TBitButton set the ModalResult properly and close the form?

2023-02-12 Thread Bo Berglund via lazarus
On Sat, 11 Feb 2023 21:15:25 +0100, Bo Berglund via lazarus wrote: >So in order to fix this on the first form I have had to implement the OnClick >event and code the following into them: > >ModalResult := mrOk >(or mrCancel) as needed. > >This causes the wanted behaviour. &g

[Lazarus] How to make TBitButton set the ModalResult properly and close the form?

2023-02-11 Thread Bo Berglund via lazarus
I am porting a Windows application from Delphi2007 to Lazarus/Fpc and have run into problems with the dialog forms used in the app. They are all provided with two TBitButton buttons, one for OK and the other for Cancel. But unlike how it works on Delphi when I use any of these when running the por

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-11 Thread Bo Berglund via lazarus
On Sat, 11 Feb 2023 16:31:56 +0100, Martin Frb via lazarus wrote: >On 11/02/2023 12:23, Bo Berglund via lazarus wrote: >> >> >> Then rebuilt and tried to run, but I get an immediate fatal exception! >> This happens both when starting within Lazarus and from the

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-11 Thread Bo Berglund via lazarus
On Sat, 11 Feb 2023 11:58:04 +0100, Bo Berglund via lazarus wrote: >Now I have gotten the project to build so I should start debugging. > >But when I try to run it from within Lazarus (hit the green arrow button) then >a >pop-u

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-11 Thread Bo Berglund via lazarus
On Fri, 10 Feb 2023 14:00:32 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Fri, 10 Feb 2023, Bo Berglund via lazarus wrote: > >> On Mon, 23 Jan 2023 09:59:14 +0100 (CET), Michael Van Canneyt via lazarus >> wrote: >> >>> >>> >&g

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-10 Thread Bo Berglund via lazarus
On Mon, 23 Jan 2023 09:59:14 +0100 (CET), Michael Van Canneyt via lazarus wrote: > > >On Mon, 23 Jan 2023, Bo Berglund via lazarus wrote: > >> I have a number of "older" applications developed on Windows using >> Delphi7-2007-XE5, which use ADODB for dat

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-09 Thread Bo Berglund via lazarus
On Thu, 9 Feb 2023 21:05:13 +0100, Martin Frb via lazarus wrote: >On 09/02/2023 20:24, Bo Berglund via lazarus wrote: >> On Thu, 09 Feb 2023 18:34:27 +0100, Bo Berglund via lazarus >> wrote: >> >>> What does this mean? >>> >>> I have never se

Re: [Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-09 Thread Bo Berglund via lazarus
On Thu, 09 Feb 2023 18:34:27 +0100, Bo Berglund via lazarus wrote: >What does this mean? > >I have never seen this before in my many years of Lazarus usage... > >And what should I do to rectify it? > I found this being discussed on gitlab: https://gitlab.com/freepascal.o

[Lazarus] Fppkg reports RTL not installed - Lazarus 2.2.4/fpc 3.2.2 from sources on Ubuntu

2023-02-09 Thread Bo Berglund via lazarus
The below is from an Ubuntu 20.04.5 LTS with Mate Desktop on an HP workstation laptop. I have retrieved the tagged release sources for fpc 3.2.2 and Lazarus 2.2.4 from gitlab and built the compiler and IDE on the command line. When I start the Lazarus IDE I get to the dialog "Welcome to Lazarus I

Re: [Lazarus] Install Lazarus 2.2.4 on Ubuntu 20.04 LTS and other Linux

2023-02-09 Thread Bo Berglund via lazarus
On Thu, 9 Feb 2023 11:50:25 +0100, John Landmesser via lazarus wrote: >   git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus > So I have found that this is a path forward: FPCTAG=release_3_2_2 FPCVER=3.2.2 LAZTAG=lazarus_2_2_4 LAZVER=2.2.4 ... cd $HOME/devel/fpc wget http

Re: [Lazarus] Install Lazarus 2.2.4 on Ubuntu 20.04 LTS and other Linux

2023-02-09 Thread Bo Berglund via lazarus
On Thu, 9 Feb 2023 11:50:25 +0100, John Landmesser via lazarus wrote: > >   ' old svn code: > >   #  svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > >   new code ( git needs to be installed ) > >   git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus > Thanks, I h

[Lazarus] Install Lazarus 2.2.4 on Ubuntu 20.04 LTS and other Linux

2023-02-09 Thread Bo Berglund via lazarus
Need help after fpc/lazarus moved from subversion... So I have been using Lazarus/FPC on Linux for a long time now (12+ years) and I have installed from sources using subversion access to the release tags on the source svn server. I created a script I could use on all these platforms to do the com

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-01-23 Thread Bo Berglund via lazarus
On Mon, 23 Jan 2023 09:59:14 +0100 (CET), Michael Van Canneyt via lazarus wrote: >That should be enough to get you started. > >Michael. Thanks! I will go there and check what I can do. I believe that I have isolated the DB stuff fairly well so hopefully only a few procedures need be touched. I h

[Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-01-23 Thread Bo Berglund via lazarus
I have a number of "older" applications developed on Windows using Delphi7-2007-XE5, which use ADODB for database accesses. The database is Microsoft SQLSERVER. Now I no longer have the old Borland software installed (issues with Windows 10 etc) so I want to port the projects to FPC/Lazarus. I hav

Re: [Lazarus] How to list available serial orts on Ubuuntu?

2022-11-28 Thread Bo Berglund via lazarus
On Mon, 28 Nov 2022 14:48:20 +0100, Giuliano Colla via lazarus wrote: >/dev/tty* is pretty much useless. It's there for historical reasons. >/dev/ttyS* is the one for actual serial adapters, and, unless you >override with a command line parameter on boot, it is limited to 0..3 in >modern kerne

Re: [Lazarus] How to list available serial orts on Ubuuntu?

2022-11-28 Thread Bo Berglund via lazarus
On Mon, 28 Nov 2022 14:44:27 +0100, "Carlos E. R. via lazarus" wrote: >> I had thought of this but it looked like an overly complicated way given that >> the list of tty* ports using ls -l /dev/tty* on my system comprises no less >> than >> 98 hits > >Please see my post. It is not tty* OK,

Re: [Lazarus] How to list available serial orts on Ubuuntu?

2022-11-28 Thread Bo Berglund via lazarus
On Mon, 28 Nov 2022 13:31:12 +0100, Giuliano Colla via lazarus wrote: >Hope that it helps, Thanks, it does. I had thought of this but it looked like an overly complicated way given that the list of tty* ports using ls -l /dev/tty* on my system comprises no less than 98 hits So I am now lim

[Lazarus] How to list available serial orts on Ubuuntu?

2022-11-28 Thread Bo Berglund via lazarus
I haved a debugging tool program created on Windows and I am orting it to Linux Ubuntu. It seems to build just fine except for a combobox fill function which uses the Windows way of populating the selectoer box with the serial ports available on the system. This is the code I use on Windows: funct

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-20 Thread Bo Berglund via lazarus
On Sun, 20 Nov 2022 18:21:56 -0300, Flávio Etrusco via lazarus wrote: >I see. My point is that you don't need to copy the whole DataBuffer and >re-populate the whole SynEdit each time you receive new data. But this >probably won't matter much unless you have hundreds of thousands of lines >runnin

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-19 Thread Bo Berglund via lazarus
On Fri, 18 Nov 2022 18:40:57 -0300, Flávio Etrusco via lazarus wrote: >Em dom., 13 de nov. de 2022 às 18:36, Luca Olivetti via lazarus < >lazarus@lists.lazarus-ide.org> escreveu: > >> El 12/11/22 a les 12:13, Bo Berglund via lazarus ha escrit: >> > On Sat, 12

  1   2   3   4   5   6   7   >