BEGIN_MESSAGE_MAP(HELP, CDialog)
//{{AFX_MSG_MAP(CBIN2LLIHELP)
ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_BIN2LLI_HELP, OnSelchangeTabBin2lliHelp);
//}}AFX_MSG_MAP
ON_BN_CLICKED(IDOK, &HELP::OnBnClickedOk)--->提示这行出错???
END_MESSAGE_MAP()
下面是出错信息!!!!
:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(41) : error C2059: syntax error : ';'
C:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(43) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(43) : error C2143: syntax error : missing ';' before ','
C:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(44) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(44) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\610049\桌面\IBLToolv015_mod_byWill\IBLToolv015_mod_byWill\BIN2LLIHELP.cpp(44) : error C2143: syntax error : missing ';' before '}'
Generating Code...
Skipping... (no relevant changes detected)
IBLToolBin2dsm.cpp
IBLToolDSMMERGPage.cpp
IBLTOOLDSMSECTN.cpp
IBLToolDSMSHOWPage.cpp
IBLToolIN2LLIPage.cpp
IBLToolLLI2DSMPage.cpp
Error executing cl.exe.
Creating browse info file...IBLTool.exe - 6 error(s), 0 warning(s)

解决方案 »

  1.   

    ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_BIN2LLI_HELP, OnSelchangeTabBin2lliHelp); 
    这一行后面你加了个分号,去掉把
      

  2.   

    ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_BIN2LLI_HELP, OnSelchangeTabBin2lliHelp); 
    后面那个;不用要就OK了
      

  3.   

    ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_BIN2LLI_HELP, OnSelchangeTabBin2lliHelp);
    改成
    ON_NOTIFY(TCN_SELCHANGE, IDC_TAB_BIN2LLI_HELP, &HELP::OnSelchangeTabBin2lliHelp)
    可以嗎?
      

  4.   

    BEGIN_MESSAGE_MAP(CDlgOptionsSettings, CDialog)
    //{{AFX_MSG_MAP(CDlgOptionsSettings)
    ON_WM_CTLCOLOR()
    ON_WM_SHOWWINDOW()
    ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
    ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
    ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
    //}}AFX_MSG_MAP
    END_MESSAGE_MAP()