title: How to Convert char* to LPWSTR in VC++?
body: <p>How to Convert char* to LPWSTR in VC++ ?</p>
  
  <pre><code>LPNETRESOURCEW nr = NULL;
  memset(&amp;nr, 0, sizeof (NETRESOURCE));
  nr-&gt;lpLocalName = strDriveLetter.GetBuffer(strDriveLetter.GetLength()); // this line giving me error "Cannot Convert char* to LPWSTR"
  </code></pre>
  
  <p>Any help is appreciated.
  Thanks.</p>