Hi Lee, 2008/5/5 Lee Jenkins <[EMAIL PROTECTED]>: > 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/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
