mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
Sorry, I almost replied before but I thought luzr might come in with something more useful.
The only thing I can think of without more info is that you are using a String somewhere as/in a global variable (so it gets initialized before GUI_APP_MAIN is run). Either you are doing something invalid with it or calling a function that relies on GUI_APP_MAIN having been called. Try looking for this.
I had this problem with Font on Linux and I couldn't start stepping through until the program entry-point (GUI_APP_MAIN) so it took me ages to find.