On 2010-09-28 09:24, Bo Berglund wrote:
So can I get some advice on:
- What is the common way to store config data on Linux?
   Ini files are probably not used since they are Windowsisms,
   but is there some other easily used way where one can simply
   store and retrieve individual values without scanning through
   a text file?

- Where is the agreed location for such data?

In Lazarus you can use:
function GetAppConfigDirUTF8(Global: Boolean): string;
function GetAppConfigFileUTF8(Global: Boolean; SubDir: boolean = false): string;

to get correct config dir/file name in (various versions of) windows/linux/osx.


Regards
Žilvinas

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to