mfc宏定义有关问题

mfc宏定义问题

// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__8A98015B_E778_4CF2_A2C9_0DC5A1F22C29__INCLUDED_)
#define AFX_STDAFX_H__8A98015B_E778_4CF2_A2C9_0DC5A1F22C29__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
/************************************************************************/
/*                  宏定义                                              */
/************************************************************************/
#define  F_WHITE    1
#define  F_BLACK    -1
#define  F_NULL_CHESS  0
#define  F_WIN_WHITE    -100
#define  F_WIN_BLACK    -101
#define  F_NULL_SATATE  -102
#define  F_TIME_DOWN   2
#define  F_TIME_COUNT  3
/*****音乐类******/
#define  F_MUSIC_BEGIN     1
#define  F_MUSIC_LOST      2
#define  F_MUSIC_PUTCHESS  3
#define  F_MUSIC_WIN       4
#define  F_MUSIC_WARNING3  5
#define  F_MUSIC_WARNING4  6
/*****套接字类******/
#define  F_DATA_MGS       1  //这里不是定义有吗
#define  F_DATA_CHESS     2

#include <afxsock.h> // MFC socket extensions
#include "RoundButton.h"
#include "Rule.h"
#include <mmsystem.h>
#include <stack>
#include <math.h>
using namespace std;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__8A98015B_E778_4CF2_A2C9_0DC5A1F22C29__INCLUDED_)



void CFIVE_CHESSDlg::Data_Send_Msg(int tpye,CString msg/* =NULL */,DATA_MSG *data/* =NULL */)
{
  if (F_DATA_CHESS==tpye)
  {
  s_client.Send((LPVOID)data,sizeof(DATA_MSG));
  }
  if (F_DATA_MGS==tpye)
  {
  s_client.Send(msg,msg.GetLength()+1);
  }
}


我前面的宏定义都没问题 就后面两个出问题了 表示不知到错哪里,他说我没定义........我无语了

mfc宏定义有关问题
------解决方案--------------------
删除多余文件重新编译吧