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

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Jan 19 14:28:01 CET 2007


On Friday 19 January 2007 13:12, Marco van de Voort wrote:

> 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.

Yes, and the hell they should, multi user OS's are out there for how 
long? Thirty years? Almost fourty?

So - writing application specific data to the same, single location for 
each and every user is inappropriate for most applications anyway.
This leaves us with the "AppData" (or whatever it's called) directory in 
the user's home directory - or the local registry keys.

Without proper rights you can't write to the "global" registry keys 
either.

So I don't see the difference apart from the usual "Is it better to back 
up thousands of ini files in different locations, or a single blob aka. 
registry which is several megabytes of a mixture of important data and 
junk?" question.


Vinzent.




More information about the fpc-devel mailing list