#213 IID_ICatInformation undefined

closed-fixed
2002-11-10
2002-11-09
Weiqi Gao
No

When compiling a COM client using the ICatInformation
interface, I received a link error "undefined reference
to `IID_ICatInformation'."

I traced it back to w32api/uuid.c, line 117

DEFINE_GUID(IID_ICatInformation13,0x2e0,0,0xc000,0,0,0,0,0,0,0x46,0);

There is an extra "13" at the end of the
"IID_ICatInformation" parameter to theDEFINE_GUID macro.

Discussion

  • Weiqi Gao

    Weiqi Gao - 2002-11-09

    cvs diff -u uuid.c output

     
  • Weiqi Gao

    Weiqi Gao - 2002-11-09

    Logged In: YES
    user_id=20655

    Well, it feels like that the program used to generate uuid.c
    is off by a byte. The "13" should be the first byte of the
    IID. The correct line should be

    DEFINE_GUID(IID_ICatInformation,0x2e013,0,0,0xc0,0,0,0,0,0,0,0x46);

    A patch is attached.

     
  • Danny Smith

    Danny Smith - 2002-11-10

    Logged In: YES
    user_id=11494

    Thanks

    Applied to CVS.

    Danny

     
  • Danny Smith

    Danny Smith - 2002-11-10
    • status: open --> closed-fixed
     

Log in to post a comment.