[callback [ , function-attr-list] ] type-specifier [ptr-declarator] function-name(
        [ [attribute-list] ] type-specifier [declarator]
        , ...);

解决方案 »

  1.   

    1 定义一个形式函数名和参数按自己需要而设.
    typedef void (CALLBACK *MyCallBackType)(int);作为参数的形式:void OtherFun(void (CALLBACK * )(int));
    2 实现这个函数
    void CALLBACK Proc(int nParam)
    {
    }3 调用SomeObj.OtherFun(Proc);
      

  2.   

    //定义
    void CALLBACK  TimerProc(HWND hWnd,   UINT nMsg,   UINT nIDEvent, DWORD dwTime )
    {
        if(nIDEvent==0)
        {
            AfxMessageBox(""); 
        } 
    }
    SetTimer(0,1000,TimeProc);//指定callback函数