COM Interface Guid

前端 未结 2 2152
孤街浪徒
孤街浪徒 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)

提交回复
热议问题