title: GetWindowText with char[]
body: <p>I am quite new to Windows programming. I am trying to retrieve the name of a window.</p>
  
  <pre><code>char NewName[128];
  GetWindowText(hwnd, NewName, 128);
  </code></pre>
  
  <p>I need to use a char[] but it gives me the error of wrong type.<br/>
  From what I read, LPWSTR is a kind of char*.</p>
  
  <p>How can I use a <code>char[]</code> with <code>GetWindowText</code> ?</p>
  
  <p>Thanks a lot !</p>