Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Async Processing With FoxPro
Message
De
29/03/2005 14:57:26
 
 
À
29/03/2005 14:53:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00999767
Message ID:
00999768
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
Take a look at message #924898 and message #910725

HTH

>What is the best way to execute multiple tasks simultaneously in a FoxPro application? I have a few long batch operations that would benefit running in the background, without holding up other operations. I know VFP isn't multithreaded, but I know it can create COM servers that run in their own process space. The trouble though, is that I haven't figured out how to have the main app launch an operation in the COM server, and return from that object while the operation is executing. I tried BindEvents, seeing if I could call an empty method in the COM server, which the COM server had prevously bound the processing method to. But this seemed to produce the same result as alling processing method directly - waiting until the processing completed.
>
>I know I could create a standalone EXE that I could run via shell execute, but I wouldn't be able to control it as well.
>
>Any suggestions or ideas? Some brief searches haven't returned much in the way of examples or documentation.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform