title: Cannot convert from 'const wchar_t *' to '_TCHAR *'
body: <pre><code>_TCHAR* strGroupName = NULL;
  const _TCHAR* strTempName = NULL;
  
  //Assign some value to strTempName
  
  strGroupName = _tcschr(strTempName, 92) //C2440
  </code></pre>
  
  <p>I get an error at the above line while compiling this code in VS2008. In VC6 it compiles fine.</p>
  
  <blockquote>
    <p>Error C2440: '=' : cannot convert from
    'const wchar_t *' to '_TCHAR *'</p>
  </blockquote>
  
  <p>What seems to be the problem and how do I fix it?</p>