f:/sdk/microsoft platform sdk 2003/include/wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
f:/sdk/microsoft platform sdk 2003/include/wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
resolve.cpp
f:/sdk/microsoft platform sdk 2003/include/wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
f:/sdk/microsoft platform sdk 2003/include/wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
Error executing cl.exe.
iocpserver.exe - 4 error(s), 0 warning(s)
解决方法:
在wspiapi.h的最上面加
#define _WSPIAPI_COUNTOF
就解决问题了