[Lazarus] Cross-platform using TRegistry - how to?

Salvatore Coppola coppolastudio at gmail.com
Wed May 6 10:47:50 CEST 2020


I suppose is an hidden file in home or in .config
Salvatore 

⁣Ottieni BlueMail per Android ​

Il giorno 4 Mag 2020, 00:41, alle ore 00:41, Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> ha scritto:
>I am porting a Windows service application to Linux ARM (RPi4).
>The Windows version is a service and as such its config data resides
>in the Registry below HKLM.
>The Linux version will be a Daemon and I would like as much of the
>code stay unaltered to avoid conversion bugs.
>
>Now I have read that the FPC TRegistry class is able to use the
>original commands for reading/writing the data by instead using some
>form of ini- or xml-file store on UNIX.
>
>The existing system written in Delphi2007 uses the following key
>structure:
>HKLM\SOFTWARE\Companyname\Applicationname\Server\(named values)
>HKLM\SOFTWARE\Companyname\Applicationname\Configuration\(named values)
>
>But how does this work and where/how are the data actually stored in a
>Linux file system?
>
>I have tried to google this but my search skills are not good enough
>so I came up empty-handed....
>
>Any insight on this very much appreciated.
>
>-- 
>Bo Berglund
>Developer in Sweden
>
>-- 
>_______________________________________________
>lazarus mailing list
>lazarus at lists.lazarus-ide.org
>https://lists.lazarus-ide.org/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200506/35dfc530/attachment-0001.html>


More information about the lazarus mailing list