正在加载图片...
用嵌套类实现COM接口(续一) 续 class XspellCheckObj: public ISpell Check publ DIctionary*m pArent virtual HRESULT stdcall QueryInterface(REFIID iid, void** ppvobj); virtual ULONG stdcall AddRef(; virtual ulonG stdcall released virtual BOOL stdcall Check Word(String word, String *); 3 m spellCheckobj ate struct Dict*m pData cha "m DictFilename[ 128; Int nt m n WordNumber. m nStructNumber };用嵌套类实现COM接口(续一) class XSpellCheckObj : public ISpellCheck { public: CDictionary * m_pParent; virtual HRESULT __stdcall QueryInterface(REFIID iid, void** ppvObj); virtual ULONG __stdcall AddRef(); virtual ULONG __stdcall Release(); virtual BOOL __stdcall CheckWord (String word, String *); } m_spellCheckObj; private : struct DictWord *m_pData; char *m_DictFilename[128]; int m_Ref ; int m_nWordNumber, m_nStructNumber; }; 续
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有