App compiled with Delphi5 works, same App with Delphi7 does not.