gpt4 book ai didi

JavaScript:我应该使用 Microsoft.XMLHTTP 还是 Msxml2.XMLHTTP?

转载 作者:数据小太阳 更新时间:2023-10-29 04:41:23 28 4
gpt4 key购买 nike

有两个progid。我见过两个都用过。

任何人都知道我什么时候应该使用一个,什么时候应该使用另一个?

最佳答案

你绝对不应该使用 Microsoft.XmlHttp。

来自 Microsoft XML 团队博客:Using the right version of MSXML in Internet Explorer : ( archive )

MSXML2 vs. Microsoft namespace – I’ve also seen a lot of code thatinstantiates the "Microsoft.XMLHTTP"ActiveX object rather than theMSXML2.XMLHTTP.3.0 orMSXML2.XMLHTTP.6.0 if you’re using6.0. The “Microsoft” namespace is actually older and is only implementedin MSXML3 for legacy support. It’sunfortunate we used the “better” nameon the older version, but stick to the“msxml2” namespace when instantiatingobjects.

关于JavaScript:我应该使用 Microsoft.XMLHTTP 还是 Msxml2.XMLHTTP?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1919582/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com