[Lazarus] GetAppConfigDir problem

Graeme Geldenhuys graemeg.lists at gmail.com
Mon May 5 23:01:07 CEST 2008


Hi Lee,

2008/5/5 Lee Jenkins <lee at datatrakpos.com>:
>  On Windows, this method returns the application's directory.  IMO, this is wrong
>  since its customary to install applications in the Program Files directory and
>  with tighter locked down XP/2000 and DEFINITELY Vista, this is a problem since
>  you are not usually given permission to write in these destinations now.

I thought GetAppConfigDir () returns the '\documents and
settings\<profile>\application data\<appname> path? Specifying the
global parameter would return: '\documents and settings\all
users\application data\<appname>'

Am I mistaken? The above behaviours should work just fine for locked
down NT/Win2000 systems and Vista with UAC enabled, because the user
should have write access to there profile directory.


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list