title: Simplest way to read registry key value to std::string?
body: <p>What's the simplest way to read a registry key value to std::String?</p>
  
  <p>Say I've got : </p>
  
  <pre><code>HKEY_LOCAL_MACHINE / SOFTWARE / MyApp / value1 = "some text"
  HKEY_LOCAL_MACHINE / SOFTWARE / MyApp / value2 = "some more text"
  </code></pre>
  
  <p>How do I get those values to std::string in a fast way ?</p>