好死不死地,也許是為了推廣 .Net,Microsoft 老早就停止了對 Visual Studio 6 的支援,所以現在 Microsoft 網站上 officially 可以抓到的 Platform SDK,只有最新版的 Windows® Server 2003 SP1 Platform SDK。可是,網頁上卻寫著:
- Development Tools. To build the C/C++ samples, you must have a C/C++ compiler. If you are using Microsoft Visual C/C++®, run it at least once before installing the SDK. This will ensure that the environment variables are correctly configured. To build the Visual Basic samples, you must have Microsoft Visual Basic®. This SDK does not support working with Microsoft Visual C/C++®, 6.0 as support for VC 6.0 has ended. The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported.
換句話說,除非整個換跑道從 VC6 升級到 VC.Net,否則就沒得用了。之前看 VB 社群因為 Microsoft 撤掉 VB6 的支援而鬧的沸沸揚揚,心裡覺得事不關己戲演的真熱鬧,結果現在輪到自己碰到同樣的問題,只好一樣咕噥一聲:「看~機車。」
還好,用 Google 挖的到 Microsoft 網站上被隱藏起來的舊網頁,這個「XPSP2 PSDK Full Download with Local Install」是 Windows® Server 2003 SP1 Platform SDK 的出來之前的前一個版本,不確定 VC6 可不可以用;而這個「Windows Server 2003 PSDK Full Download with Local Install」則正是網頁裡宣稱可以給 VC6 使用的版本:Windows® Server 2003 Platform SDK - February 2003,共 342MB 裝起來要 1G 多,经验证,VC6可以使用。