[Lazarus] Where to define conditionals for FPC

Marc Weustink marc at dommelstein.nl
Fri May 15 21:26:43 CEST 2020



On May 14, 2020 10:21:22 AM GMT+02:00, Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>On Tue, 12 May 2020 13:49:08 +0200, Marc Weustink via lazarus
><lazarus at lists.lazarus-ide.org> wrote:
>
>While going through your post I got into this section:
>
>>> 3) Compiling same code with Delphi and FPC?
>>> Do you convert your projects (manually) to make it possible to use
>>> both Delphi and Lazarus as the IDE for further work on the same
>>> sources?
>>> If so do you have any hints as to what to look out for?
>>
>>Yes, it is a manual conversion. But in our case not that hard. Most of
>
>>the converted projects are windows (network) services.
>>The difference between a delphi service and a fpc daemon is covered in
>a 
>>BaseServer class / unit. So for services derived from it there is no 
>>different code.
>
>Since I am dealing with a Windows Service too I wonder how you do it
>to get a daemon application in Lazarus?
>
>I have installed the package lazdaemon 0.9.9 on advice elsewhere.
>It is said to be implementing services, but I don't know if it is
>involved in the Delphi conversion...
>
 I'll see if I can extract some example snippet. I cannot remember that I used a package.

I didn't use the form based service 

Marc




More information about the lazarus mailing list