I've got wxLua embedded in a standard wx app and it seems to be working well enough but I find myself lost if hit by an error in any script file as there is no console output. With normal lua I can just use the following to open up and attach a console in Windows code:
::AllocConsole(); freopen( "CONOUT$", "a", stdout ); // Attach the stdout to the console freopen( "CONOUT$", "a", stderr ); // Attach the stderr too Which makes debugging scripts easy, but this doesn't work with wxLua. Is there an easy method for seeing the console output, doesn't have to be via a console window, could be piped to a file or some other method. Scott Morgan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users