Exceptions in main source lazarus / 21-General ---------------------------------------------------------------------- dseligo · 2021-06-05 09:18 Are exceptions handled in some special way in Lazarus' main source? If target is Win32/i386 then exceptions outside try .. except block isn't shown, program is just silently terminated. If target is Win64/x86_64 then exceptions are shown. Environments I tested: Windows 10 with Lazarus 2.0.10 32-bit. Windows 7 with Lazarus 2.0.12 64-bit. ---------------------------------------------------------------------- Ñuño_Martínez · 2021-06-05 17:56 It depends on the framework. All LCL based applications shows an error box on unhandled exceptions, handled by method Application.Run. If not handled by the application (i.e. not LCL based applications) then it depends on the Operating System. ---------------------------------------------------------------------- dseligo · 2021-06-05 22:37 It is LCL, but exception is raised before Application.Run. Why error box is shown if target is Win64, but not when target is Win32? ---------------------------------------------------------------------- PascalDragon · 2021-06-06 17:08 This was a bug in the SEH implementation for Win32. I've fixed that now in r49486. ---------------------------------------------------------------------- dseligo · 2021-06-06 17:41 Quote from: PascalDragon on June 06, 2021, 07:08:15 pmThis was a bug in the SEH implementation for Win32. I've fixed that now in r49486. Thank you.