“用嵌套类实现COM接口”原理 DIctionary Vtable for Dictionary m_dictionaryObjlptr7 Querylnterface AddRef m spell CheckObi /vptr Release m pData m Dict Filename[ 128 Vtable for ISpell Check m ref QueryInterface m n WordNumber AddRef m nStructNumber R elease Querylnterface CDictiona的0函数 AddRef Release“用嵌套类实现COM接口”原理 m_pData m_DictFilename[128] m_Ref m_nWordNumber m_nStructNumber QueryInterface AddRef Release ……. m_dictionaryObj m_spellCheckObj QueryInterface AddRef Release …… QueryInterface AddRef Release …… Vtable for IDictionary Vtable for ISpellCheck CDictionary vptr vptr CDictionary的非虚函数