Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Process priority
Message
De
27/05/2002 11:28:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/05/2002 11:27:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00661648
Message ID:
00661700
Vues:
42
>You can call LaunchApp(), snag the handle from the class instance and adjust the priority, and then have your VFP app poll for termination using the CheckProcessExitCode() method until it completes. You can even let your VFP app run side-by-side as long as it doesn't depend on the other process completing before continuing - I sometimes use this trick to launch a VFP report as a background job by firing it up as a separate .EXE and adjust its priority, letting it rip along in the background while my main app does something else...

Ed,

Thanks, again, for your excellent advice.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform