[Issue 1434] DMD COM design flaw
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 30 11:44:50 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1434
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #4 from bugzilla at digitalmars.com 2007-08-30 13:44 -------
The way to write com objects in D is to use:
import std.windows.iunknown;
to get IUnknown. Don't write your own, it won't work. Also, of course if you
stomp on the pointer to the classInvariant, it'll crash when it's called.
I don't really understand the issue here. I'll mark it as invalid for the
moment. Please fix the example code, and reopen if there's still a problem.
--
More information about the Digitalmars-d-bugs
mailing list