>We have an FoxPro 2.6a (X) interface application running in a DOS session. This interface waits for a text file to appear in a directory to process. If there is no file present, the interface waits a user defined amount of time and then checks again for a file. We have tried both WAIT TIMEOUT and INKEY() to implement the delay. If the DOS session running the interface is in the background, the TIMEOUT doesn't expire until the application is brought back to the foreground.
>
>We have only seen this behavior under Windows 95/98; it runs as expected under Windows NT. It only happens when running the application using FOXR.EXE; it runs as expected from the development environment
>
>Has anyone else experienced this behavior or know of a work-around for Windows 95/98?
>
Check to make certain that the DOS session is being allowed to run in the background (check the .PIF for the DOS session, Misc tab, Background) and that it can receive keyboard and timing events when in the background as well.
>Thanks,
>Alan Ouellette