title: Argument of type char is incompatible with parameter type LPWSTR
body: <p>So I'm learning GUI in c++ to make windows stuff, under my WM_COMMAND case I have an if statement:</p>
  
  <pre><code> //declared globally
   char textSaved[20];
   HWND TextBox;
  
   //within WM_COMMAND case
   if (LOWORD(wParam) == 4)
           {
               int gwtstat =0;
               //char *t = &amp;textSaved[0];
               gwtstat = GetWindowText(TextBox, &amp;textSaved[0], 20);
           }
  </code></pre>
  
  <p>and my compiler is telling me that the type "char" is incompatible with the parameter of type "LPWSTR". I'd appreciate it if someone told me what this means and how I could fix it. Also the point of this is to store the content of a text box. </p>