On Tue, Jul 28, 2009 at 6:59 PM, Daniel Aquino<mr.danielaqu...@gmail.com> wrote:
> I'm having lockups when I try to pull an http page using wxURL.
>
> It gets stuck at GetInputStream but then appears to work fine after
> right clicking on the systray icon...

I assume you are under MS Windows? XP?

> I believe it may be the threads issues that are described on this page:
>
> http://wiki.wxwidgets.org/WxURL
>
> quote: "Under Windows, wxURL and wxThread may have problems to work
> well together. Be sure to construct the wxURL and call
> wxURL::GetInputStream inside the main thread."

wxLua always runs everything in the main thread unless you have
created another thread.

I don't get any delays running your code in MS Windows XP using
wxlua.exe, wxluafreeze.exe, and wxluaedit.exe. They all get a size of
4 and the stream is:

"{
}
"

Regards,
    John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to