Categorized | 网络技术

Tags | , ,

winhttp api和com对象版区别

发布于 2017年05月10日


C/C++ API COM interface
  • Responses can be processed in chunks, which is more efficient.
  • POST operations can also be processed in chunks, speeding processing time.
  • AutoProxy support.
  • Access to the full feature set of WinHTTP.
  • Binary data can easily be handled.
  • Creating an application is easy and requires fewer lines of code than the C/C++ API.
  • The interface can be used by scripting languages.
  • Processing is more complex.
  • The C/C++ API requires more steps than the COM interface to perform the same actions.
  • Setting up a request takes more code.
  • The COM interface does not provide access to the full feature set of WinHTTP.
  • It is difficult to handle binary data types in some scripting languages, such as VBScript and JScript.
  • The COM interface does not support AutoProxy.
  • Applications must use the COM APARTMENT_THREADED model.
  • Before a response can begin being processed, the entire response must first be received and buffered.


  • RESTful API 最佳实践(转) 2018-10-10
  • NLPIR/ICTCLAS2014中科院分词系统Api接口 For 易语言 2014-04-09
  • linux系统禁ping及改ssh端口 2017-10-25
  • 亲,中秋国庆福利来了~【2012版倒计时】 2012-10-01
  • Amazon EC2的Proftpd连接不上? 2013-08-25
  • Centos安装L2TP+IPSec完整教程 2015-02-07
  • 自动检测memcached进程,不存在则自动重启(脚本) 2014-11-09
  • 易语言curl支持库与WinHttpRequest、WinInet、互联网支持库http访问对比测试 2014-04-30
  • windows多进程间数据通信:内存映射 2015-05-19
  • Amazon EC2的V-P-N-PPTP搭建教程(on aws redhat6.5 X64) 2014-10-20
  • 发表评论

    Time limit is exhausted. Please reload CAPTCHA.