title: convert string to _T in cpp
body: <p>I want to convert <code>string</code> or <code>char*</code> to the <code>_T</code> but not able to do.</p>
  
  <p>if i write</p>
  
  <pre><code>_tcscpy(cmdline,_T ("hello world")); 
  </code></pre>
  
  <p>it works perfectly, but if i write</p>
  
  <pre><code>char* msg="hello world";
  _tcscpy(cmdline,_T (msg));
  </code></pre>
  
  <p>it shows an error like: <code>error C2065: 'Lmsg' : undeclared identifier</code></p>
  
  <p>Please give me a solution.</p>
  
  <p>Thanx in advance.</p>