#下载WTL 点击这里
#安装WTL 拷贝setup80x.js 到setup90x.js。将里面的8.0全部替换成9.0,双击安装
#下载VisualFC 点击这里。使用它创建向导,并链接库atlthunk.lib
#在VS2008中加入include目录 默认想到发现错误
1>c:\users\king\desktop\wtl\wtl\stdafx.h(33) : error C2065: '_stdcallthunk' : undeclared identifier 1>c:\users\king\desktop\wtl\wtl\stdafx.h(33) : error C2070: unknown-type: illegal sizeof operand
在stdafx.h中加入#include #include #include
// Support for VS2005 Express & SDK ATL #ifdef _WTL_SUPPORT_SDK_ATL3
#参考