Andreas Krinke wrote:
(Sat, 24 Oct 2009 05:43:12 -0700)

> local url = wx.wxURL("http://www.google.com";;)
> local stream = url:GetInputStream()
> while stream:CanRead() do
>   textCtrl:AppendText(stream:Read(78))
> end

One other thing.. I added a line to get the error:

local url = wx.wxURL("http://www.google.com";)
local stream = url:GetInputStream()
print(url:GetError())
while stream:CanRead() do
  print(stream:Read(78))
end

It printed a 3 which I checked with this:

print(wx.wxURL_NOERR,wx.wxURL_SNTXERR,wx.wxURL_NOPROTO,wx.wxURL_NOHOST,wx.wxURL_NOPATH,wx.wxURL_CONNERR,wx.wxURL_PROTOERR)

So it can't find the host. As this is a simple thing that a vast number of 
tools can do on W98 I won't be blaming the OS. Hopefully wxWidgets will become 
as cross-platform as its billing suggests. W98 is founded on a decades-old and 
extremely small, fast and useful base (DOS) and plenty of people value that 
even if Microsoft don't. I hope that people who support cross-platform efforts 
don't too readily do what Microsoft want them to do, to give up on it.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to