Please change all m_wxlState.LuaPCall(.*) to if (m_wxlState.LuaPCall(.*) == 0)
checking for the status is necessary when a console is active. At other times we probably just lucked out. If the console is active and Error is invoked within the callback then the program crash. Thank you Andre PS: The default value seems to be righ. ------------------------------------------------------------------------- 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