activex control test container for VS 2008

也許你會發現在VS 2008找不到 activex control test container,

事實上還是在的,是被放在範例中,要自行編譯:

[Program Files]\Microsoft Visual Studio 9.0\Samples\1033\AllVCLanguageSamples.zip


解開zip檔後,在 C++\MFC\OLE\TstCon 這個專案中,


如果你是win32平台,開啟專案後,再編譯之前,先到 build\Configuration Manager 中,將平台設定為 Win32


之後在 TCProps 專案設定中,將 Linker / Manifest File 中的 Enable User Account Control 設成 NO


編譯之後,TstCon.exe 就是 activex control test container 啦~~~