943,729 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 661
  • C++ RSS
Dec 15th, 2008
0

wxwidgets App: how to get external socket input?

Expand Post »
My pointy-headed management told me to drop development of a wxPython app that was working 90% and go back to C++ with wxWidgets. I have it working functionally, but integrating with
the company's existing MFC code seemed easier to run this app
as a separate process using sockets to communicate.

BUT ... I can't get the socket-using thread to yield enough time (despite using wxThread::Yield, wxThread:leep, wxWakeUpIdle(),
and various combinations of these tricks) for the small GUI I want
to display to update! The window itself shows up blank until I break
the socket connection with the controlling program. At that point
it fills in.

I did look at the 'how to integrate MFC with wxWidgets' section in The Book but (erroneously?) thought this would be easier. Is there something obvious I'm missing? The MFC I'd have to integrate with it pretty crufty itself and I'm afraid I'd break something messing with it.

Thanks much for any suggestions whatsoever!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
markmcwiggins is offline Offline
4 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: New to C++
Next Thread in C++ Forum Timeline: Need help with overload functions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC