【问题标题】:WinInet - won't work without Internet Explorer?WinInet - 没有 Internet Explorer 就无法工作?
【发布时间】:2021-03-08 06:56:48
【问题描述】:

我在微软网站上看到了这句话:

https://docs.microsoft.com/en-US/troubleshoot/browsers/wininet-not-supported-in-services

为了了解在服务器环境中使用 WinInet 的独特限制,有必要了解 WinInet 的历史。 WinInet 是为 Internet Explorer 使用而开发的。 事实上,要使用更高版本的 WinInet,您必须加载 Internet Explorer 的最小安装

我不明白:WinInet 是 Windows API 还是 InternetExplorer API?使用 WinInet 编写的应用程序,没有 Internet Explorer 本身 - 它可以工作吗?

【问题讨论】:

  • Internet Explorer 依赖于 WinInet,但 WinInet 不依赖于 Internet Explorer。事实上,微软已经放弃了 Internet Explorer,转而使用 Microsoft Edge,它使用了一种非常不同的架构,因此现代 WinInet 不再需要安装最小的 Internet Explorer 是没有意义的。
  • KB238425 已经超过 20 岁了。当他们这么说时,他们实际上是在谈论他的“运输工具”,即:wininet 是作为产品随 IE 一起提供的,该产品最初不是操作系统的一部分(长话短说)。从技术上讲,IE 依赖于 Wininet。
  • Remy Lebeau,这是否意味着他们的网站上有过时的信息?
  • Simon Mourier,但微软页面上说 WinInet 依赖于 Internet Explorer。有人错了,或者你或微软。
  • @Optimus1 您正在查看一个专门关于 IIS 和服务的页面,引用原始的 Q238425 引用“IE 4.01 Sp2、5.0 和 5.5”。跨度>

标签: winapi wininet


【解决方案1】:

您提供的article 正在讨论在服务或Internet Information Server (IIS) 应用程序中使用WinInet.dll

如果您需要在 IIS 应用程序中使用最新版本的 WinInet,则需要加载 Internet Explorer 的最小安装。

如果我们对WinInet了解更多,就不会有这样的疑问了。

WinINet API 已添加到 Windows NT4 和 Windows 95 中的 Windows。 此 API 集位于 Wininet.dll 中,由 WinINET-aware 使用 Internet Explorer、媒体播放器和 Instant 等应用程序 信使。 WinINET API 本身使应用程序能够交互 使用 Gopher、FTP 和 HTTP 协议。 WinINet 抽象了这些 协议为应用程序开发人员提供一个接口 类似于标准文件 IO。

更多详情:Under the Hood: WinINet

【讨论】:

    猜你喜欢
    • 2011-07-11
    • 2017-05-04
    • 1970-01-01
    • 2011-01-14
    • 2015-06-27
    • 1970-01-01
    • 2013-02-04
    • 2012-02-03
    • 2015-02-01
    相关资源
    最近更新 更多