[Issue 12607] IUnknown classes cannot define or override a toString method

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 21 07:49:10 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12607

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I JUST was playing around with this.

I think an IUnknown class is implicitly extern(Windows) for all the methods.
You have to explicitly mark toString as extern(D).

--


More information about the Digitalmars-d-bugs mailing list