http://bugs.winehq.org/show_bug.cgi?id=24242
Summary: MSXML2.XMLHTTP.3.0 can't GET Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
In http://forum.winehq.org/viewtopic.php?t=9524 a user asked why his simple download code failed:
-------- snip ---------- Simple Delphi code.
Uses comobj;
procedure TForm1.Button1Click(Sender: TObject); var xmlhttp: variant; begin xmlhttp:=createoleobject('MSXML2.XMLHTTP.3.0'); xmlhttp.open('GET', edit1.text, true); xmlhttp.send(); while (xmlhttp.readystate<>4) do application.processmessages; memo1.lines.add(xmlhttp.responsetext); end;
Screen cap: http://netikka.net/dev/ole.jpg Here is zipped exe: http://netikka.net/dev/ole.zip
Click ok -> OLE error 800401F3 (Ubuntu 10.04, Wine 1.31) -------- snip ----------
The app he links to is a very simple one that uses an msxml3 interface to download a file when you click the button. Doing that fails on wine, and the log shows
err:ole:CoGetClassObject no class object {f5078f35-c551-11d3-89b9-0000f81fe221} could be created for context 0x5
'winetricks msxml3' works around it, and gets you to the next problem.
http://bugs.winehq.org/show_bug.cgi?id=24242
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
--- Comment #1 from Dan Kegel dank@kegel.com 2010-09-02 12:06:27 CDT --- Created bug 24243 for the next problem.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2010-09-02 13:12:48 CDT --- There's some bug for missed MSXML2.XMLHTTP and it's completely unimplemented, so it's not surprising it can't GET.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #3 from Dan Kegel dank@kegel.com 2010-09-02 13:23:08 CDT --- Yeah, it's bug 10458, sorry I missed that.
This one has more detail, so it's tempting to close 10458 as a dup of 24242.
http://bugs.winehq.org/show_bug.cgi?id=24242
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24243
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2010-10-06 18:18:13 CDT --- After 7ff3446be5751319fd402d70df3c307eec0d2fe2 object with CLSID_XMLHTTP30 could be created at least.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2010-10-07 14:27:38 CDT --- Commits 62656c57bf61d142f2529e21cb75a98cd955a1fa and eebf331e892353921947c039cfbffa18e7824c77 implement ::responseText() property, retest with today git please.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #6 from Austin English austinenglish@gmail.com 2010-10-07 16:43:54 CDT --- (In reply to comment #5)
Commits 62656c57bf61d142f2529e21cb75a98cd955a1fa and eebf331e892353921947c039cfbffa18e7824c77 implement ::responseText() property, retest with today git please.
Still in wine-1.3.4-202-g47d2a00.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2010-10-07 17:29:01 CDT --- Created an attachment (id=31180) --> (http://bugs.winehq.org/attachment.cgi?id=31180) patch
Here is a fix.
http://bugs.winehq.org/show_bug.cgi?id=24242
--- Comment #8 from Austin English austinenglish@gmail.com 2010-10-08 01:33:54 CDT --- (In reply to comment #7)
Created an attachment (id=31180)
--> (http://bugs.winehq.org/attachment.cgi?id=31180) [details]
patch
Here is a fix.
Yep, thanks.
http://bugs.winehq.org/show_bug.cgi?id=24242
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2010-10-08 12:48:48 CDT --- Fixed by 25dc6c7c9e3459336a8ffc102c3d2f16e2e01cca.
http://bugs.winehq.org/show_bug.cgi?id=24242
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-10-15 12:50:13 CDT --- Closing bugs fixed in 1.3.5.