正在加载图片...
用嵌套类实现COM接口 class Dictionary ∥构造函数和析构函数 HRESULT stdcall QueryInterface(REFIID iid, void** ppvObj); ULONG stdcall Add Ref ULONG stdcall releasee class XDictionaryObj: public IDictionary DIctionary*m pArent; virtual HreSULT stdcall QueryInterface(REFIID iid, void** ppvobj); virtual ulonG stdcall Add refo virtual ULONG stdcall Releasee virtual BOoL stdcall Initialize(; virtual void stdcall Freelibraryo 3 m dictionaryObj; 未完用嵌套类实现COM接口 class CDictionary { …… //构造函数和析构函数 HRESULT __stdcall QueryInterface(REFIID iid, void** ppvObj); ULONG __stdcall AddRef(); ULONG __stdcall Release(); class XDictionaryObj : public IDictionary { public: CDictionary * m_pParent; virtual HRESULT __stdcall QueryInterface(REFIID iid, void** ppvObj); virtual ULONG __stdcall AddRef(); virtual ULONG __stdcall Release(); virtual BOOL __stdcall Initialize(); …... virtual void __stdcall FreeLibrary(); } m_dictionaryObj; 未完
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有