2011/7/31 Chris Kelling : > I am looking to distribute my software to pc, linux, unix, and mac users. > I’m using the registry in Windows, and was going to use systemd for linux.
Use the RTL function GetAppConfigDir(True) - this will normally return '/etc' under Linux and any Unix system. GetAppConfigDir(False) will return a directory that is writable for any normal user (no admin or root rights required). Also take a look at GetAppConfigFile(). This might even be better than the above mentioned function. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
