ScribbleView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CScribbleView::OnMouseMove(unsigned int,class CPoint)" (?OnMouseMove@CScribbleView@@IAEXIVCPoint@@@Z)
ScribbleView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CScribbleView::OnLButtonUp(unsigned int,class CPoint)" (?OnLButtonUp@CScribbleView@@IAEXIVCPoint@@@Z)
ScribbleView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CScribbleView::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CScribbleView@@IAEXIVCPoint@@@Z)
Debug/Scribble.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
ScribbleView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CScribbleView::OnLButtonUp(unsigned int,class CPoint)" (?OnLButtonUp@CScribbleView@@IAEXIVCPoint@@@Z)
ScribbleView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CScribbleView::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CScribbleView@@IAEXIVCPoint@@@Z)
Debug/Scribble.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
//
/////////////////////////////////////////////////////////////////////////////#if !defined(AFX_SCRIBBLEVIEW_H__47A9A0C3_E21E_46AD_A0A5_8C335A9D84CE__INCLUDED_)
#define AFX_SCRIBBLEVIEW_H__47A9A0C3_E21E_46AD_A0A5_8C335A9D84CE__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CScribbleView : public CView
{
protected: // create from serialization only
CScribbleView();
DECLARE_DYNCREATE(CScribbleView)// Attributes
public:
CScribbleDoc* GetDocument();// Operations
public:// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScribbleView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL// Implementation
public:
virtual ~CScribbleView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endifprotected:// Generated message map functions
protected:
//{{AFX_MSG(CScribbleView)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG//add by jzp 070429
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//end add by jzp 070429
DECLARE_MESSAGE_MAP()
};#ifndef _DEBUG // debug version in ScribbleView.cpp
inline CScribbleDoc* CScribbleView::GetDocument()
{ return (CScribbleDoc*)m_pDocument; }
#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_SCRIBBLEVIEW_H__47A9A0C3_E21E_46AD_A0A5_8C335A9D84CE__INCLUDED_)请大家帮我看看...急