本帖最后由 VisualEleven 于 2011-10-09 22:11:13 编辑

解决方案 »

  1.   

    E:\Temp\Visual C++\My Visual C++\ServeTest\ServeTestDlg.cpp(210) : error C2143: syntax error : missing ')' before ';'
    E:\Temp\Visual C++\My Visual C++\ServeTest\ServeTestDlg.cpp(210) : error C2660: 'WSAAsyncSelect' : function does not take 3 parameters
    E:\Temp\Visual C++\My Visual C++\ServeTest\ServeTestDlg.cpp(210) : error C2143: syntax error : missing ';' before ','
    E:\Temp\Visual C++\My Visual C++\ServeTest\ServeTestDlg.cpp(210) : error C2059: syntax error : ')'
      

  2.   

     UM_SOCKET 
    宏定义的时候,有问题。
      

  3.   

    宏的定义:
    #define UM_SOCKET WM_USER + 100;
      

  4.   


      #define UM_SOCKET WM_USER + 100;
     改为
      #define UM_SOCKET WM_USER + 100
      

  5.   

    果然高招,UM_SOCKET编译编译器预处理后,就变成WM_USER + 100;了……