RE: [GD-Windows] Security/access when writing to registry
Brought to you by:
vexxed72
From: Mickael P. <mpo...@ed...> - 2003-01-23 16:02:14
|
Wayne Coles wrote: >> Personaly I'm swearing each time some "smart" pc developper put >> settings, highscores and save games in some weird location in my >> computer, because it means I cannot backup my game saves. > > Although I don't think the registry is the correct place to store > 'shared' information. I also don't think the applications local > directory tree is the correct place either. The ability to 'lock > down' what an application can do is part of where the OS is going > (Windows anyway). Okay. When I was talking about the "folder where the program is installed", I was refering in general to any well documented place where the user can expect to find his data. > If it's for a single user and it's small, I suggest the registry. > If it's for a single user and it's large, I suggest the app local data > directory (as mentioned before, obtained by calling > SHGetSpecialFolderPath with CSIDL_APPDATA). > If it's shared across users, I suggest the app common data directory > (SHGetSpecialFolderPath with CSIDL_COMMON_APPDATA). For me it's summarised in one single choice: If it's worthwhile for the user to backup it, use the "app local data" you are talking about. Mickael Pointier |