Re: [fpc-pascal] Best practice porting a Windows service application to Linux?

2020-04-21 Thread Sven Barth via fpc-pascal
Bo Berglund via fpc-pascal schrieb am Mi., 22. Apr. 2020, 05:33: > But what about the general service framework? > The existing code uses a class inherited from TService, does this > exist on FPC for Windows and Linux? > So it can be crosscompiled for both platforms? > The service framework is a

Re: [fpc-pascal] Best practice porting a Windows service application to Linux?

2020-04-21 Thread Dimitrios Chr. Ioannidis via fpc-pascal
Hi, Στις 22/4/2020 1:02 π.μ., ο Bo Berglund via fpc-pascal έγραψε: < sip > But what about the general service framework? The existing code uses a class inherited from TService, does this exist on FPC for Windows and Linux? So it can be crosscompiled for both platforms? Attached you'll find a

[fpc-pascal] Best practice porting a Windows service application to Linux?

2020-04-21 Thread Bo Berglund via fpc-pascal
I have this old (dev 2004-2008) service application for Win32, which I hope to migrate/port to Linux. It was written in Delphi7 on WinXP at the time and I want to move it to a Debian based Linux. Obviously stuff like handling control data via Windows Registry etc has to be rewritten as well as im

Re: [fpc-pascal] StrToHostAddr in sockets unit accepts negative octets

2020-04-21 Thread Noel Duffy via fpc-pascal
On 20/04/20 7:41 pm, Karoly Balogh (Charlie/SGR) wrote: Hi, On Mon, 20 Apr 2020, Noel Duffy via fpc-pascal wrote: I have already fixed it, with a simplistic fix, I think. Committed as SVN r44845. Great, good to know it's fixed. Not having the SVN repo to hand, I can't tell how recent that re