网上找的资料基本上是"Designing ActiveX Components with the MFC Document/View Model"这篇文章,弄了好久 都还是不行,晕了

解决方案 »

  1.   

    不是没有人来 而是你把你的问题说出来 ,不是告诉我们那个文章怎么说的,
    你的代码具体是那里出了问题啊 Document/View我也弄过 我看了你的问题都不知道跟你说点什么 
      

  2.   

    将Doc/View 应用程序打造成 ActiveX 控件
    http://blog.csdn.net/prolibertine/archive/2006/12/19/1448428.aspx>>>>>>>>>>>>>>>>>>>>>>>>>
    按照上面的步奏,然后报错:
    ActiveXDocControl.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTMAP const * __thiscall CActiveXDocControl::GetEventMap(void)const " (?GetEventMap@CActiveXDocControl@@MBEPBUAFX_EVENTMAP@@XZ)这几天都弄头晕了
      

  3.   

    还有一篇文章是单文档/视图结构的ActiveX控件 http://www.cnblogs.com/rukeefan/archive/2004/08/08/31184.html
      

  4.   

    GetEventMap没找到说明你的事件映射没写,和是否是ActiveX无关。用BEGIN_EVENT_MAP/END_EVENT_MAP自己写一个。