你的CProjectView是什么? 错误:使用了没有定义的CProjectView
还有注意MSDN中的
Constructs a CView object. The framework calls the constructor when a new frame window is created or a window is split. Override the OnInitialUpdate member function to initialize the view after the document is attached.