title: How can I use SimpleIni to return wchar_t and then convert to std::wstring?
body: <p><a href="http://code.jellycan.com/simpleini-doc/html/index.html" rel="nofollow">SimpleIni Documentation</a> says wchar_t is supported but I don't understand how to use it. This is what I tried:</p>
  
  <pre><code>CSimpleIniCaseW ini;
  ini.LoadFile("myapp.ini");
  std::wstring test(ini.GetValue("testsection", "testkey", ""));
  </code></pre>
  
  <blockquote>
    <p>error C2664:
    'CSimpleIniTempl::GetValue'
    : cannot convert parameter 1 from
    'const char [12]' to 'const wchar_t *'</p>
  </blockquote>