On 12 Jun 2010, at 02:11, Roger Bailey wrote: > Can someone explain this? You are using FPC mode rather than TP or Delphi mode. Add {$mode tp} or {$mode delphi}, or compile with -Mtp or -Mdelphi Jonas