把所有的.h和.cpp都加入工程后,按照论坛上的说明添加对话框资源,然后在头文件中加入#include "GridCtrl.h" ,出现以下错误:d:\vc程序\wqeqwe\dlgtestreportbox.h(15) : error C2143: syntax error : missing ';' before 'constant'
d:\vc程序\wqeqwe\dlgtestreportbox.h(15) : fatal error C1004: unexpected end of file found
#include "GridCtrl.h" 
#if !defined(AFX_DLGTESTREPORTBOX_H__3ABB7B67_DEE4_4EB0_BAD8_0F537E2305AD__INCLUDED_)
#define AFX_DLGTESTREPORTBOX_H__3ABB7B67_DEE4_4EB0_BAD8_0F537E2305AD__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgTestReportBox.h : header file
///////////////////////////////////////////////////////////////////////////////
// CDlgTestReportBox dialogclass CDlgTestReportBox : public CDialog
{
// Construction
public:
CGridCtrl* m_pGrid;
CDlgTestReportBox(CWnd* pParent = NULL);   // standard constructor// Dialog Data
//{{AFX_DATA(CDlgTestReportBox)
enum { IDD = CDlgTestReportBox };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgTestReportBox)
protected:
virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
//}}AFX_VIRTUAL// Implementation
protected: // Generated message map functions
//{{AFX_MSG(CDlgTestReportBox)
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_DLGTESTREPORTBOX_H__3ABB7B67_DEE4_4EB0_BAD8_0F537E2305AD__INCLUDED_)