WinInet - 没有 Internet Explorer 就不能工作?

WinInet - won't work without Internet Explorer?

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

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

In order to understand the limitations unique to using WinInet in a server environment, it is necessary to understand WinInet's history. WinInet was developed for use by Internet Explorer. In fact, to use later versions of WinInet, you must load a minimal installation of Internet Explorer.

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

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

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

如果我们多了解WinInet,就不会有这样的疑惑了

The WinINet API was added to Windows in Windows NT4 and Windows 95. This API set is located in Wininet.dll and is used by WinINET-aware applications such as Internet Explorer, Media Player, and Instant Messenger. The WinINET API itself enables applications to interact with the Gopher, FTP and HTTP protocols. WinINet abstracts these protocols to provide application developers with an interface that resembles standard file IO.

更多详情:Under the Hood: WinINet