Re: How to read from the Windows registry
- Posted by ghaberek (admin) Apr 16, 2009
- 1245 views
mattlewis said...
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
I think you missed my response...
ghaberek said...
wxEuphoria does this with wxConfig.
wxEuphoria Docs said...
wxConfig allows you to write the same code regardless of whether you're working with the registry under Win32 or text-based config files under Unix. To make writing the portable code even easier, wxEuphoria automatically maps to the native wxConfig implementation on the given platform: i.e. wxRegConfig under Win32 and wxFileConfig otherwise.
I snuck it into the 0.12.2 release.
-Greg