我在我程序的stdafx.h里面加上afxsock.h,当写了CSocket sock;就报错:
…\include\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition
…\include\winsock.h(83) : see previous definition of 'FD_SET'
但在别人的程序里面加没有问题,这是怎么回事??我的afxsock.h里面还包含头文件#include <atlbase.h>,,#include <atlcom.h>