1、下載 Windows Server 2003 R2 Platform SDK
2、在 Tool -> Option -> Directories 裏面修改 Include、Lib、Source File 的引用,將所有新 SDK 的文件目錄提到首位
3、在 StdAfx.h 中添加
#define _WIN32_WINNT 0x501
備註:
1、按照微軟的說法:
The last SDK that will work with VC 6.0 is the February 2003 Edition
2、該 SDK 下載地址:http://download.cnet.com/Windows-Server-2003-R2-Platform-SDK-ISO-Download/3000-10248_4-10731094.html