Simple INI API

This post was imported from an old blog archive, and predates the creation of AdamCaudill.com

While storing settings in a INI file is no longer in vogue, so developers (including myself) still find value in this old method of save a program’s settings. The advantages of using INI files instead of the system registry may be numerous, one of the main reasons I use it is portability, by saving a single file I can move the entire settings for my program to any other computer.

My games also use INI files instead of using the registry, this allows them to perform their own user management instead of allow Windows to define how to handle it.