Change all the call to LuaPCall to setup the result only when the code succeed ex: m_wxlState.LuaPCall(1, 1); to if (m_wxlState.LuaPCall(1, 1) == 0) the are a number of those lines
This cause the program to crash particularly if the console is active. Thank you Andre ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users