From: louisrom1 on
Hi

does somebody know how to control priority (under windows XP) of a
process built Compaq Visual Fortran (CVF) version 6.6.B ?

Thanks
From: David Jones on
louisrom1(a)gmail.com wrote:
> Hi
>
> does somebody know how to control priority (under windows XP) of a
> process built Compaq Visual Fortran (CVF) version 6.6.B ?
>
> Thanks

Either use taskmanager to chage the priority once started, or start the execution with a command at the command-prompt like:

start /BELOWNORMAL dir/name.exe

which has another possibly useful options: /LOW for low priority, /WAIT to wait for exection to finish. Enter "help start" at command prompt for others. You may be able to enter this start command somewhere in Project/Settings in the IDE.
------------ And now a word from our sponsor ------------------
Want to have instant messaging, and chat rooms, and discussion
groups for your local users or business, you need dbabble!
-- See http://netwinsite.com/sponsor/sponsor_dbabble.htm ----
From: dpb on
Ulouisrom1(a)gmail.com wrote:
> Hi
>
> does somebody know how to control priority (under windows XP) of a
> process built Compaq Visual Fortran (CVF) version 6.6.B ?

Use a direct call to the OS API's for process control. The Win32 API
documentation is on the CVF distribution CD.

--
From: louisrom1 on
On Apr 8, 1:44 pm, "David Jones" <dajx...(a)ceh.ac.uk> wrote:
> louisr...(a)gmail.com wrote:
> > Hi
>
> > does somebody know how to control priority (under windows XP) of a
> > process built Compaq Visual Fortran (CVF) version 6.6.B ?
>
> > Thanks
>
> Either use taskmanager to chage the priority once started, or start the execution with a command at the command-prompt like:
>
> start /BELOWNORMAL dir/name.exe
>
> which has another possibly useful options: /LOW for low priority, /WAIT to wait for exection to finish. Enter "help start" at command prompt for others. You may be able to enter this start command somewhere in Project/Settings in the IDE.
> ------------ And now a word from our sponsor ------------------
> Want to have instant messaging, and chat rooms, and discussion
> groups for your local users or business, you need dbabble!
> -- Seehttp://netwinsite.com/sponsor/sponsor_dbabble.htm ----

ok but I 'd like the process to be low priority systematically,
without having to come back on the process to do it each I start one
From: dpb on
louisrom1(a)gmail.com wrote:
> On Apr 8, 1:44 pm, "David Jones" <dajx...(a)ceh.ac.uk> wrote:
>> louisr...(a)gmail.com wrote:
>>> Hi
>>> does somebody know how to control priority (under windows XP) of a
>>> process built Compaq Visual Fortran (CVF) version 6.6.B ?
....

>> ... start the execution with a command at the command-prompt like:
>>
>> start /BELOWNORMAL dir/name.exe
>>
>> which has another possibly useful options: /LOW for low priority,...
....
> ok but I 'd like the process to be low priority systematically,
> without having to come back on the process to do it each I start one

Well, you have to start the process anyway, using start to do so is only
a single step--a batch file could shorten the keystrokes down to a bare
minimum.

Otherwise, you would have to use the OS API call from within the app
itself to change its own priority I think.

If there's a way to encode a desired priority into an .exe header, I
don't know about it--a search of MSDN would undoubtedly uncover that
tidbit of info there were such a thing; I've never looked for that
specifically.

--