I have a program that will run fine if I do not load Windows 98 (run in DOS mode), but if I run it in a DOS window, the program ends. I have narrowed it down to the the function restscreen(). I also know that the return value from the savescreen() is an array because of the graphics mode, however the restscreen will work 3 times and then always end after the 3rd time. At home, I have Windows 95 and it seems to run ok there. Any machine with Windows 98 seems to cause the problem. Below see a sample program. I compile it with exospace but blinker does not like it either. Any suggestions?<br><br>#include "LLIBG.CH"<br>funtion test<br><br>local aScreen,;<br> nCounter := 0<br><br>gmode( LLG_VIDEO_VGA_640_480_16 )<br>set videomode to LLG_VIDEO_VGA_640_480_16<br><br>aScreen := savescreen()<br><br>while .t.<br> nCounter ++<br> @ 0,0 say nCounter<br> inkey(0)<br> restscreen( aScreen )<br> savescreen( aScreen )<br>enddo<br><br>return nil<br><br>