title: Convert Char into AnsiChar or WideChar (Delphi)
body: <p>I'm upgrading a very old (10+ years) application to the latest Delphi XE.  There are a number of errors I keep getting like   </p>
  
  <pre><code>Incompatible types: 'WideChar' and 'AnsiChar'
  </code></pre>
  
  <p>I have been just casting the char to the right type: ex. AWideChar = WideChar(fncReturnsChar);</p>
  
  <p>Is this going to cause problems?</p>