Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Several processes in VFP
Message
From
08/01/1999 06:37:40
 
 
To
07/01/1999 22:53:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00173905
Message ID:
00173949
Views:
33
>Is it possible to run several processes in VFP 5.0 without allowing them to "freeze" each other. For example, I made a simple modeless form with timer, showing current system time. Started 10 copies of a form. All of them were running OK. But when I tried to issue SELECT * command in background, all timers stopped until SELECT wasn't finished.
>

VFP is a single-threaded product; only one thread of execution is active at a given time. It also responds to events between execution of p-code instructions; you may note that a whole bunch of timer events were waiting when the SELECT instruction finished - all the events occured, and were recorded, but VFP's event loop was not process until the SELECT statement completed.

The same would be true of other windows events - you could typeahead in a text box, or click buttons, or whatever, and until the SELECT statement completed, VFP would record the event but not act on it.
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
Reply
Map
View

Click here to load this message in the networking platform