COM Interface Guid

前端 未结 2 2150
孤街浪徒
孤街浪徒 2021-02-20 07:55

I\'m not much into COM interfaces, so i have a small question, say I have this code:

[Guid(\"148BD528-A2AB-11CE-B11F-00AA00530503\"), 
 InterfaceType(ComInterfac         


        
相关标签:
2条回答
  • 2021-02-20 08:34

    I've never encountered a formal documentation - there are, however, several ways to look it up:

    • Open the type lib (usually the server DLL itself) in OLE Viewer (included in visual studio tools)
    • looking it up in the SDK .idl's / .h's
    • write short VC++ program and use __uuidof(IInterface)
    • Looking it up under HKCR\Interface (though not all interfaces need to get registered there)
    0 讨论(0)
  • 2021-02-20 08:47

    In the registry, do a search for the class name in HKEY_CLASSES_ROOT, you will find the GUID

    0 讨论(0)
提交回复
热议问题