Cor Ligthert said:
Scott,
Maybe you can check if Microsoft uses the registry, check for the word
Microsoft by instance in that.
Ummm, of course they do
It is in my opinion is the registry not a seperated database so you should
only store in that things, what real acts with the computer. However for
clientcomputer depended things is it in my opinion a good store.
Depends on the key and what the data is. When you run a windows setup file
(Windows Installer), it will write information about your application to the
registry. This information is then used to uninstall or reinstall.
XML is good for settings which are not good hardcoded in the program however
have to be set by instance in advance. What is a XML file more than a new
way of the INI file, from which is so often writen that there was a new
successor for that, "the registry".
XML files are the "newest" and "improved" way of storing configuration data.
"MOST" of the time all you have to do is make a change to the xml and the
application will read it once it requires the information. The only time this is
not true is when the application reads from the configuration file when it
starts, and stores the information in memory. Then the configuration file may
not be read until after the application restarts. Remember that, if you want to
be able to update your app settings (stuff in config file), make sure that you
read from the config file occasionally to "refresh" your configuration.
However, just my thought.
Of course it is Cor, you are always thinking...wish we could get more from you
jk
Mythran