Hi,

Sorry, this is not strictly a Lazarus question, but thought maybe
other Lazarus users have solved this problem.

What is the recommend location to store application (custom) settings
per user?
By application settings, I mean the following: Form State (size,
position and state maximized/minimized) of every form, last used
company, last used database, preferred color scheme, etc..
Currently I store all settings in .INI files in the same directory as
the application, but for obvious reasons that is not going to work in
a deployment environment (Linux and Windows Vista) and it isn't per
user!


Under Windows:
- I think the <Application Data> folder.  Or one of those anyway.
How do I get hold if it? Using the Environment variables?  I think
there is something like %ApplicationData% but that is not going to
work for pre-Win2000 system as for as I know.

Under Linux:
- There is the GetAppConfigDir(False) function, but this that
appropriate? On my system it ruturns the following:
/home/graemeg/.config/<applicationname>
- Is it LSB compliant?


--
Graeme Geldenhuys

There's no place like S34° 03.168'  E018° 49.342'

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to