Catching OS Exceptions in Windows using LDC

Adam D. Ruppe destructionator at gmail.com
Sat Jul 4 12:59:03 UTC 2020


On Saturday, 4 July 2020 at 12:45:50 UTC, realhet wrote:
> It was not a problem on other systems like: MSVC or Delphi, but 
> on LDC these events are completely ignored.

use dmd with -m32 or -m32mscoff and it works correctly 
automatically.

For whatever reason, dmd 64 bit and ldc decided to do their own 
thing instead of following the Windows standard and thus have no 
interop with OS exceptions.

Alas not much help if you must use those other builds....


More information about the Digitalmars-d-learn mailing list