[fpc-devel] Error: Unable to create "reg.xml" file

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jan 19 16:01:11 CET 2007


On 1/19/07, Marco van de Voort <marcov at stack.nl> wrote:
> > As for my own apps and any user settings, I call gINI which stores
> > them in a .ini file on both Windows and Linux.
>
> There is one  dangerous caution against overzealous inifile use: with
> lessened privileges (a situation that is going to become more frequent under
> Vista, iow, user has no admin rights), apps can't write to "program files/"
> with the default permissions, and must use special directories for this.

No matter where the application is located, the .ini file is created
in the users HOME directory, be that Windows or Linux.  The .ini file
only stores custom user settings, so the HOME directory is appropriate
for that.  You don't want to mix different users settings in a single
.ini file!


-- 
Graeme Geldenhuys

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



More information about the fpc-devel mailing list