1 自定义类型
   class CModule : public CObject
2 APP类中定义个成员变量
   public:
    CMultiDocTemplate* pDocTemplate;
    CMultiDocTemplate* pDrawTemplate;
    //CModule * m_pModule;
    CTypedPtrList<CObList, CModule*> m_ModuleList; (构造函数没有初始化这个链表,应该也不用吧?)3 view总ondraw函数:
CTypedPtrList <CObject, CModule*> & moduleList = ((CRTLMutiApp*)AfxGetApp())->m_ModuleList;编译出错
提示:
e:\work\mfc\rtlmuti\drawview.cpp(58) : error C2440: 'initializing' : cannot convert from 'class CTypedPtrList<class CObList,class CModule *>' to 'class CTypedPtrList<class CObject,class CModule *> &'
        A reference that is not to 'const' cannot be bound to a non-lvalue换成指针也不行,应该是其他问题引起,求指教,谢谢