title: What is the difference between WideChar and AnsiChar?
body: <p>I'm upgrading some ancient (from 2003) Delphi code to Delphi Architect XE and I'm running into a few problems.  I am getting a number of errors where there are incompatible types.  These errors don't happen in Delphi 6 so I must assume that this is because things have been upgraded.  </p>
  
  <p>I honestly don't know what the difference between PAnsiChar and PWideChar is, but Delphi sure knows the difference and won't let me compile.  If I knew what the differences were maybe I could figure out which to use or how to fix this.</p>