error C2447: missing function header (old-style formal list?)CMDIChildWnd::Create(lpszClassName,lpszWindowName,dwStyle,rect,pParentWnd,pContext));
上面这句不知道为什么老是出错,,错误如开头。。
大家帮帮忙。头文件已经定义了啊。

解决方案 »

  1.   

    Compiler Error C2447
    missing function header (old-style formal list?)An open curly brace ({) was found at global scope without a corresponding function header.This error can be caused by using the old-style C-language formal list.Check that the function being defined has an appropriate function declaration.The following is an example of this error:int c;
    {}       // error