解决VC6.0使用winhttp.h问题

来源:互联网 发布:网络杀手是什么意思 编辑:程序博客网 时间:2024/04/29 22:29

本文转自

一、解决错误(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'

       

 

     再将刚添加的路径上移至最前就可以了!

原创粉丝点击