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

Michael Van Canneyt michael at freepascal.org
Thu Apr 23 07:11:25 CEST 2020

On Thu, 23 Apr 2020, Bo Berglund via fpc-pascal wrote:

> On Wed, 22 Apr 2020 07:56:38 +0200, Sven Barth via fpc-pascal
> <fpc-pascal at lists.freepascal.org> wrote:
>> Bo Berglund via fpc-pascal <fpc-pascal at lists.freepascal.org> 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 available as TDaemonApplication in daemonapp.pp
>> and is available for both Windows and *nix systems. :)
> It seems not to be available as an alternative in Lazarus new project
> dialogue...
> At least not in the Tool/Delphi conversion dialogue.

You must install the lazdaemon package, then it becomes available.

The conversion dialogue does not handle service applications specially, as
far as I know.


More information about the fpc-pascal mailing list