本文转自
一、解决错误(fatal error C1083: Cannot open include file: 'winhttp.h': No such file or directory)
1、下载并安装SDK。
这里不详细介绍了,可以去搜索一下或查看
http://hi.baidu.com/hrsoft%5Fcn/blog/item/c020d909eb2489a52eddd488.html
2、VC6中添加路径。
(1)
(2)
二、解决错误(
error C2146: syntax error : missing ';' before identifier 'dwResult'
error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
error C2501: 'dwResult' : missing storage-class or type specifiers
error C2061: syntax error : identifier 'DWORD_PTR')
再将刚添加的路径上移至最前就可以了!