Lazarus

Programming => Operating Systems => Windows => Topic started by: dietmar on July 25, 2021, 04:40:23 pm

Title: Determine application Roaming Directory
Post 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
Title: Re: Determine application Roaming Directory
Post by: ASerge on July 25, 2021, 04:49:39 pm
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.
TinyPortal © 2005-2018