title: c++ convert from LPCTSTR to const char *
body: <p>I have this problem in MSVC2008 MFC. I´m using unicode. I have a function prototype:</p>
  
  <pre><code>MyFunction(const char *)
  </code></pre>
  
  <p>and I'm calling it:</p>
  
  <pre><code>MyfunFunction(LPCTSTR wChar). 
  </code></pre>
  
  <blockquote>
    <p>error:Cannot Convert Parameter 1 From 'LPCTSTR' to 'const char *'</p>
  </blockquote>
  
  <p>How to resolve it?</p>