Thursday, December 20, 2007

Using the registry or an INI file to save and retrieve information

When programming there are often information that you want to save and later read. If you consider to use an INI file I suggest you read this post Why are INI files deprecated in favor of the registry?

Here are some reasons I find useful:

  • INI files don't support Unicode.
  • Multiple writers to an INI file can result in data loss.
  • INI files can suffer a denial of service.
  • Parsing an INI file is comparatively slow.

If you think XML is a better choice there are some arguments there as well.


Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner