[Issue 12607] IUnknown classes cannot define or override a toString method
https://issues.dlang.org/show_bug.cgi?id=12607 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added OS|All |Windows --
[Issue 12607] IUnknown classes cannot define or override a toString method
https://issues.dlang.org/show_bug.cgi?id=12607 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #1 from Steven Schveighoffer schvei...@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). --
[Issue 12607] IUnknown classes cannot define or override a toString method
https://issues.dlang.org/show_bug.cgi?id=12607 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com --- (In reply to Steven Schveighoffer from comment #1) I JUST was playing around with this. I think an IUnknown class is implicitly extern(Windows) for all the methods. Ah, thanks. I kept seeing people use extern(Windows): in their COM classes and thought that was strange. I'll update this so it becomes a documentation issue. --