title: What is the easiest way to convert a char array to a WCHAR array?
body: <p>In my code, I receive a <code>const char array</code> like the following:</p>
  
  <pre><code>const char * myString = someFunction();
  </code></pre>
  
  <p>Now I want to postprocess it as a <code>wchar array</code> since the functions I use afterwards don't handle narrow strings.</p>
  
  <p>What is the easiest way to accomplish this goal? </p>
  
  <p>Eventually MultiByteToWideChar? (However, since it is a narrow string which I get as input, it doesn't have multibyte characters => probably not the most beautiful solution)</p>