On 19 June 2010 10:45, Sven Barth wrote: > > Nevertheless the Registry is not that bad if you think about it: it's an > data storage system that is provided by the operating system itself and thus > available to all applications running on it.
Our mileage clearly varies a lot. The registry is a mess. Fully of crap, often corrupt, easy to corrupt and lots of "uninstalled application" information is left there to rot ever though the app is not on the system any more. > Another nice thing are permissions: You can - at least on NT+ systems - set > the permissions for single keys (not values though) for specific users and > groups. Yeah, this has been around in *nix systems for 30+ years using text config files and user/group/world permissions. :-) > If your application has the correct priviledges you can also load and unload > private Hive-files (the Registry is saved in such files). You can use that > for example to make your application portable: Umm, using a ini file stored in a global location for system wide setup, but also allow the application to see if a ini file is in the same directory as the executable also makes it instantly "portable" (like running from flash drives). Been doing this for years with Windows and Linux software - always using INI files. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
