Lazarus
Programming => Operating Systems => Windows => Topic started by: dietmar on July 25, 2021, 04:40:23 pm
-
Hi,
I want to determine the "Roaming" directory of my app, e.g. C:\User\xxx\Roaming.
Unfortunately, GetAppConfigDir(false) returns the "Local" directory and with parameter TRUE, C:\ProgramData\... is returned.
I appreciate your help!
Regards
Dietmar
-
I want to determine the "Roaming" directory of my app, e.g. C:\User\xxx\Roaming.
WinDirs.GetWindowsSpecialDir(CSIDL_APPDATA);
Interestingly, in WinCE, SysUtils.GetAppConfigDir(False) return exactly Roaming folder.