最近,我们老师要求我们做课程设计,我的题目是用类COleClientDoc中的函数,以vc++为平台,设计一个主页面.但是我查阅了不少资料,发现没有COleClientDoc这个类,与之相关的只有类COleClientItem和类COleDocument。请大家指点!(急)

解决方案 »

  1.   

    In MFC/OLE1, container applications derived the document class from COleClientDoc. In MFC/OLE 2 this class has been removed and replaced by COleDocument (this new organization makes it easier to build container/server applications). There is a #define that maps COleClientDoc to COleDocument to simplify porting of MFC/OLE1 applications to MFC/OLE 2, such as OCLIENT. One of the features not supplied by COleDocument that was provided by COleClientDoc is the standard command message map entries. This is done so that server applications, which also use COleDocument (indirectly), do not carry with them the overhead of these command handlers unless they are a container/server application
      

  2.   

    There is a #define that maps COleClientDoc to COleDocument to simplify porting of MFC/OLE1 applications to MFC/OLE 2, such as OCLIENT.