Re: Unwated Console
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Mar 04, 2007
- 498 views
don cole wrote: > an unwanted console screen open. Are you sure there is nothing on that console that gives you a big clue? If not, first thing I'd do is plant a sleep(2) before the WinMain(). If the console pops up instantly, then I'd know it was outside any handlers and I'd hunt it down with further sleep() statements earlier in the code, else I'd think about disabling various handler routines to narrow it down. I might also try a global search for puts, ?, clear_screen, erm... My sympathies are with you as I have had a couple of these in the past myself which have taken hours of determined effort to hunt down. (and I have also had a couple that only took a few minutes to find) Regards, Pete