[Issue 4295] New: IID_IUnknown symbol undefined in phobos.lib

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 8 10:24:20 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4295

           Summary: IID_IUnknown symbol undefined in phobos.lib
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure, rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2010-06-08 10:24:18 PDT ---
std.c.windows.windows defines extern IID IID_IUnknown (and later uses it in
ComObject)
but the linker complains that the symbol is undefined.

Replacing it with

IID IID_IUnknown = {0x00000000, 0x0000, 0x0000, [0xC0, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x46]};

makes it work, but I'm not sure if this is the correct GUID.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list