COM入门
摘要:
1. 定义CLSID_IExample和IID_IExample,分别作为实现类(coclass)和接口类的id2. 声明接口IExample,从IUnknown继承STDMETHOD (QueryInterface) (THIS_ REFIID, void **) PURE;STDMETHOD_ (ULONG, AddRef) (THIS) PURE;STDMETHOD_ (ULONG, Release) (THIS) PURE;STDMETHOD (SetString) (THIS_ char *) PURE;STDMETHOD (GetString) (THIS_ char... 阅读全文
posted @ 2013-06-02 12:01 cutepig 阅读(257) 评论(0) 推荐(0) 编辑