Catching OS Exceptions in Windows using LDC

kinke noone at nowhere.com
Sat Jul 4 15:18:10 UTC 2020


On Saturday, 4 July 2020 at 12:59:03 UTC, Adam D. Ruppe wrote:
> 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.

For LDC, we don't do 'our own thing', but use MSVC++ EH, which 
allows to catch MSVC++ exceptions in D, and with some work, D 
exceptions in C++.


More information about the Digitalmars-d-learn mailing list