Hi, One of my apps also runs in a Citrix environment. It does not retrieve it's settings.
If appears that GetAppConfigDir(False) returns "C:\Users\<username>\AppData\Local". (%LOCALAPPDATA%=C:\Users\902617\AppData\Local) Whereas %APPDATA% points to "\\prof001\profiles\<username>\AppData", and this is also the location where programs like FireFox write there config files to. While my program actually writes to "C:\Users\<username>\AppData\Local\somsubfolder\programname.ini" (the file exists and contains the content it should have), upon restart of the program that ini file does not exist anymore. So this location is pretty useless. 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? Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal