wxFrame and pthreads

Andres Londoño haoomaru at hotmail.com
Wed Aug 1 14:10:55 PDT 2007


Hi:

I am building a Program using pthreads and WxWidgets wxX11-2.8.4 in Ubuntu 
7.10

- The program when runs, launch a Thread to update the Gui.

- So the wxFrame has to be declated global in order to can be called from a 
non-member funtion of the main class app.

- When Frame loads works ok.. showing all elements.

- By launching the thread function this can not execute and program exist 
reporting IO and/or memory errors
------------------------------------------------------------------
XIO:  fatal IO error 0 (Success) on X server ":0.0"
      after 2217 requests (2196 known processed) with 2 events remaining.
------------------------------------------------------------------

- The errors appear when I add Strings to the members that I need to Update.


I used wxGTK but using it returned me errors too.



Do you have any Idea?



Andres

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.latam.msn.com/





More information about the wx-users mailing list