Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Process priority
Message
From
27/05/2002 11:28:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00661648
Message ID:
00661700
Views:
41
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform