program project2;

{$mode delphi}
// mode has no difference ofcource but error message differ

uses
  Registry;

var
  Reg: TRegIniFile;
begin
  Reg := TRegIniFile.Create;
  Reg.Free;
end.

