{$MODE Delphi} and {$mode objfpc}{$H+}
This page has explanation about the differences:http://wiki.freepascal.org/Code_Conversion_Guide#Syntax_differences
What the {$H+} doing there? {$MODE DELPHI} can be in mode {$H-}....