Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 Sucks ALL my CPU resource
Message
From
04/03/2003 22:34:57
 
 
To
03/03/2003 23:56:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00760730
Message ID:
00761331
Views:
43
>Hi Bernard,
>
>>This app is meant to run on a WIN2k server and I do not want it to use ALL >the CPU resources on the server as other processes will be affected.
>
>If you are working from an NT-based OS, you can set the process priority from the task manager. This enabled me to do some "datacrunching" jobs (48-96H) in the background on a machine also needed for other tasks.
>
>If you go into "production", there are some WINAPI-calls for thread and process priority to automate this as well.
>
>HTH
>
>thomas


Yes I know you can set the process priority from the taks manager. But how do you set the process priority of an app BEFORE it is run, as then it does not appear on the task manager.

This app is to run on the WIN2k Scheduler so I need to know how to set its process priority before it is run.

Also could you let me know what these API's are and how to use them?

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform