Jump to content

winhttp.winhttprequest.5.1


John
 Share

Recommended Posts

Is ObjCreate("winhttp.winhttprequest.5.1") limited to Win XP?

MSDN never mentioned plateforms that I could find.

The code;

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("GET","http://127.0.0.1/Post.php")

Always errs with;

$oHTTP.Open("GET","http://127.0.0.1/post.php")

Must be of type object ^

Even HTTP.au3 throws this error when included even if not called so I tried;

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
If IsObj($oHTTP) Then
    MsgBox(0,"","True")
Else
    MsgBox(0,"","False")
EndIf

Which is always false.

Info;

Win 98 SE

AutoIt Ver. 3.1.1.132

IE Ver. 6.0.2800.1106

LocalHost (Apache) works fine from IE, Maxthon, Firefox.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...