Repository navigation
WinReg v12.0.0 C++20/C++17 Header-only Stable Release
·
12 commits
to master
since this release
Improvements in v12.0.0
- Code can be compiled in both C++17 and C++20 modes.
- The library now uses the
RegQueryValueEx()API instead ofRegGetValue(); this makes it
compatible with "legacy" operating systems, like Windows XP. - The library is now more robust against malformed registry data. Instead of silently
returning wrong or truncated values, the getters now detect these cases and report them
as errors: for example, aREG_DWORDvalue stored with less than 4 bytes, or UTF-16 strings
stored with an odd number of bytes (which can't be valid UTF-16). std::move()is used in more places to enable move semantics and avoid deep-copies.