Einzelnen Beitrag anzeigen

Benutzerbild von Uwe Raabe
Uwe Raabe

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.066 Beiträge
 
Delphi 12 Athens
 
#15

AW: Nur bestimmte exceptions abfangen/ignorieren

  Alt 22. Jul 2020, 17:11
Da es Exceptions erst ab Delphi gibt (war es Delphi 2? Ich glaube in 16 Bit Windows gab es sie noch nicht, also nicht in Delphi 1), wage ich das mal zu bezweifeln.
Exceptions gab es wohl auch schon in Delphi 1, wie man diesem Artikel von Allen Bauer entnehmen kann:
Zitat:
I remember cringing when Anders Hejlsberg demoed the exception handling capabilities by dereferencing a nil pointer. I had done all the work to map the hardware exceptions (via. the Windows 3.x toolhelp.dll) into language exceptions. Windows 3.x at the time had no OS supported exception mechanism. Remember all those “General Protection Fault” dialogs? brrrrr...
Auch nett der Kommentar von Nick Hodges:
Zitat:
When Anders referenced that nil PChar, there was a literal hush in the room, and when it didn't crash, putting up an exception instead, the place went crazy.

The MS people in the back were carried out on stretchers, I think from hyperventilating.
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat