On May 1, 2012, at 10:22 AM, Walter Lenk wrote: > The solution that Robert suggested (and I have implemented) is to > check that the current output window is one of the windows that you > want to draw in. Walter’s suggestion works for the crashing demo code: Change the FN DoTimer to: local fn DoTimer select window( _outputWnd ) case 1 gTime = Time$ print gTime case else: exit fn end select end fn and add 'window 1' before RunApplicationEventLoop() Mike - please try Walter’s suggestion and let the list know what happens. Brian S.