Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WAIT TIMEOUT suspends in WIN 95/98 when in the backgroud
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257971
Message ID:
00257994
Views:
19
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform