Re: How to read from the Windows registry
- Posted by mattlewis (admin) Apr 15, 2009
- 1166 views
I was thinking that the standard library needs a configuration file (config.e) that would write cross-platform configuration files using native backends. For instance, registry on Windows and a simple $HOME/.dotfile on Unix.
Jeremy
This is just my personal preference, but I'd support a library that allows for cross-platform configuration files (such that the files can be copied from OS to another and still work).
On the other hand, a library that supports using backends such as w32 registry, gconf-2, etc would be more useful, but would also be a larger undertaking.
wxWidgets has some classes (unwrapped by wxEuphoria, unless Greg has done it while I wasn't looking) that handles configuration files. I think that it writes to the registry on Windows, and writes text files (possibly xml, but I'm not sure) on unix-like operating systems.
Matt