msxml3.dll 错误
指定资源下载失败。
代码:
function PostHTTPPage(url,data)
dim Http
set Http=server.createobject("MSXML2.ServerXMLHTTP")
Http.open "Post",url,False
Http.setRequestHeader"CONTENT-TYPE","application/x-www-form-urlencoded"
Http.send(data)
if Http.readystate<>4 then exit function
PostHTTPPage=bytesToBSTR(Http.responseBody,"utf-8")
set http=nothing
if err.number<>0 then err.Clear
end Function
有没有大神能给解决一下、可有偿
因为xmlhttp在发起请求的时候,没法附带微信支付的证书,所以这里不能使用xmlhttp;用VB进行xmlhttp提交,有时候可以,有时候不行。
后来研究了php里面提交数据的方式,发现是一个curl.exe的东西在提交,它比xmlhttp牛得多,且跨平台。用VB写一个dll,可以用这个dll调用curl传递数据给微信。