Oh wow, talk about perfect timing. This afternoon I had to look into a bug where our app also runs under a Citrix environment, and on reboot (or new session) the settings are lost.
Thanks for the info Michael. G. On 06/28/18 07:49, Michael Van Canneyt wrote: >> Any thoughts on retrieving the sensible place to store configuration >> files in such an environment, or how to detect I'm in such an >> environment? > https://stackoverflow.com/questions/4186153/api-for-determining-if-app-is-running-on-citrix-or-terminal-services > https://helgeklein.com/blog/2014/08/app-running-citrix-xendesktopxenapp/ > > AppConfigDir uses > > GetWindowsSpecialDir(CSIDL_LOCAL_APPDATA); > > if you see you're under Citrix, you could use > > GetWindowsSpecialDir(CSIDL_APPDATA); _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal