GetAppConfigDir(false) returns wrong directory under windows
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
Under windows GetAppConfigDir uses
GetSpecialDir(CSIDL_LOCAL_APPDATA)
when it should use
GetSpecialDir(CSIDL_APPDATA)
See:
http://msdn.microsoft.com/en-us/library/bb762494.aspx
It could be argued that both locations are correct since both are for application data, but CSIDL_LOCAL_APPDATA is normally used for volatile data (like, e.g. a browser cache) that can be easily reconstructed, while configuration data is usually under CSIDL_APPDATA
Mantis conversion info:
- Mantis ID: 13908
- OS: Windows
- Version: 2.2.4