nothrow in druntime win32 C bindings

Stewart Gordon smjg_1998 at yahoo.com
Fri Dec 28 10:28:48 PST 2012


On 27/12/2012 18:16, Andrej Mitrovic wrote:
> On 12/27/12, Walter Bright <newshound2 at digitalmars.com> wrote:
>> Is it an issue as you describe? Yes. Is it a big enough issue to merit a
>> language change? I doubt it.
>
> Ok, but we should at least document it. Currently we only have a small
> remark in the docs saying exceptions in D are not compatible with C++
> exceptions, but we should clarify and maybe add how to work around
> this, whether to catch Throwable, and what to do when its caught.

The WNDPROC defined by SDWF catches exceptions and displays a message 
box that gives the exception's toString and offers the user the choice 
of trying to continue or aborting the program.

Stewart.




More information about the Digitalmars-d mailing list