one byte fields changed from Char to AnsiChar due to Delphi2009