D:\Microsoft SDKs\Windows\v7.1\Samples\netds\winsock\lsp\common>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl provider.cpp -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=0x05000000 -D_WIN32_IE=0x0500 -D
WINVER=0x0500 -D_PSDK_BLD -DSTRICT -DFD_SETSIZE=1024 /GS /FoWIN2000_DEBUG\provider.obj
provider.cpp
d:\microsoft sdks\windows\v7.1\samples\netds\winsock\lsp\common\lspcommon.h(63) : error C2146: syntax error : missing ';' before identifier 'lpfnTransmitPackets'
d:\microsoft sdks\windows\v7.1\samples\netds\winsock\lsp\common\lspcommon.h(63) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
网上不少人同样问题,却都没有解答
