untidy.net :: untidy c++ :: CSRegistry(Last Update: 7th April 2003)

One common task for windows developers is that of using the registry. Although the APIs for doing so may seem simple at a first glance, they can be verbose and complicated to use for any major application. The CSRegistry C++ class wraps the functionality of the registry, providing easy-to-use methods for reading and writing many common value-types.

Usage:

Simply create a CSRegistry object wherever you wish to perform some registry access. Then call the OpenKey method to open a sub-key in the registry. If you wish to read from a different top-level key, simply call SetRootKey first with one of the HKEY constants such as HKEY_LOCAL_MACHINE;

Download:

Download Source (c++)