Author Topic: ulternative to windows registry  (Read 3922 times)


  • New Member
  • *
  • Posts: 13
ulternative to windows registry
« on: November 06, 2007, 11:39:00 am »
I want to port the application which is configuring PC for UDP configuration.

Fot that in delphi code MyReg.OpenKey  and MyReg.CloseKey is used for getting 1) computer name 2) work group 3) ip address4) ip mask etc.

I want to port this application in lazarus.

So does linux uses registry??

how to get these data and which functions I shld use to configure UDP settings???




  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1890
RE: ulternative to windows registry
« Reply #1 on: November 06, 2007, 01:25:05 pm »
No, Linux does not use the windows registry (Surprise ;-)
For getting some of the values you mentioned, have a look a netdb.pp.
In the netdb folder of you fpc installation, there are some examples like testhosts.pp.


TinyPortal © 2005-2018