Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run 2 processes simultaneously?
Message
De
20/08/1999 10:47:30
 
 
À
19/08/1999 22:56:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00255462
Message ID:
00255866
Vues:
32
>>>
>>>No. The DLL will not allow UI.
>>
>>I didn't think it would, and I wasn't even thinking about the UI part. I just didn't think it was going to allow you to "spawn off" a process to do the serial port monitoring and do anything else at the same time.
>
>Actually, if you have two processes doing different things, and neither required UI, you could probably do this.

Yes, but indirectly - you could call an out-of-process server, for example. if all I needed were lightweight comms in the background and I weren't running anything processor-intensive, MSCOMM32 could probably handle it in conjunction with VFPCOM to link VFP code to the OnComm event, but it's still a single thread of execution; VFP wouldn't interrupt a single atomic VFP command (for example, a horrible non-optimizable query) to execute an event handler; it only responds to events between lines of code...
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform