Search found 3 matches

by smartrabbit
Fri Jan 07, 2011 6:05 pm
Forum: C++ Development
Topic: wxExecute freezes in wxApp::onInit
Replies: 2
Views: 474

Hi doublemax you are right. This solves my problem. Thanks for your advice. Additionally I had to check if it's the app's main event loop because this event is handled when the app closes, too. The second time the app would freeze, because the event loop is not running anymore. Following the working...
by smartrabbit
Thu Jan 06, 2011 7:57 pm
Forum: Compiler / Linking / IDE Related
Topic: Migrating non-unicode app to 2.9.1
Replies: 3
Views: 876

I had a similar problem when porting my application to 2.9.1 because I needed some new functionality of this version. The fastest way to use improvements of this version was to force the ANSI release by define wxUSE_UNICODE=0 in the compiler options. Maybe it's not the best solution for future relea...
by smartrabbit
Thu Jan 06, 2011 7:41 pm
Forum: C++ Development
Topic: wxExecute freezes in wxApp::onInit
Replies: 2
Views: 474

wxExecute freezes in wxApp::onInit

Hi, In my application I need a list of available serial ports. I tried to solve this with wxArrayString portlist; wxArrayString errors; wxString cmd(wxT("/bin/ls /dev/tty*")); wxExecute(cmd, portlist, errors); This code is executed from wxApp::onInit() The problem is, that the application freezes on...