Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wxHTTP & wxURL halt when GetInputStream ?

4 views
Skip to first unread message

dxc...@yahoo.com

unread,
Feb 5, 2004, 3:26:44 AM2/5/04
to
Dear experts.
I've tried the follow code:

wxURL url("http://MySite/");
if (url.GetError() != wxURL_NOERR) {
LOG(wxT("URL FAIL"));
return;
}
wxInputStream* is = url.GetInputStream(); // HALT HERE

My prog halt at line wxInputStream* is = url.GetInputStream();

The same for follow code:

wxHTTP http;
if (!http->Connect(wxT("MyServer"))) {
LOG(wxT("CONNECT FAIL"));
return;
}
wxInputStream* is = http.GetInputStream(wxT("/")); // HALT HERE

My wx is wx-cvs-20040203.tar.bz2 / Win2K
Pease help me.


0 new messages