[fpc-devel] GetAppConfigFile implementation

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Dec 20 11:35:36 CET 2008


Hello,

GetAppConfigFile in win32 uses CSIDL_LOCAL_APPDATA to be implemented.

I did some research, and I think that CSIDL_APPDATA is a better choice:

 http://blogs.msdn.com/oldnewthing/archive/2005/07/01/434647.aspx

They are very similar, but the LOCAL version is a bit more specifc,
and the non-LOCAL has the advantage of a lower requirement. It
requires shell 4.0 while the other requires shell 5.0

Careful that both are for local settings, the name just isn't very intuitive.

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list