Re: Console windows
- Posted by don cole <doncole at pacbell.net> Sep 16, 2005
- 609 views
André Drummond wrote: > > Hi folks, > > does anyone knows how do I eliminate the console > window that appears after a crash in a > (translated to C) euphoria program? > > I already try the above: > }}} <eucode> > function VarDump(object param) > free_console() > ... some code ... > void = message_box(... some code ...) > return 0 > end function > > crash_routine(routine_id("VarDump")) > <font color="#330033"></eucode> {{{ </font> > > As you can see I have a routine "VarDump" that > is called when the program crashes. > I use the "free_console()" command to wipe out the > error message but, after pressing the Ok button, > a console windows appears saying "Press Enter...". > > How do I eliminate it? > > Thanks, > André Drummond > In your BIN folder right click ex.exe \properties\program\ checkbox 'Close on exit'. You can also this fram a shortcut to your program. Don Cole SF