Order and save right now!
20% off with the dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!
Use SetErrorMode function with SEM_FAILCRITICALERRORS parameter. It allows your application don't display error messages, which can appears during executing of your application. In this example, you won't see error "Division by zero".
procedure TForm1.Button1Click(Sender: TObject); var i: Real; begin SetErrorMode(SEM_FAILCRITICALERRORS); i:=1/0; end;
More for developers