RE: [Dev-C++] Controlling Process Priority
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Scott W. <se...@al...> - 2002-11-13 20:45:42
|
Thanks for the reply. This is probably naive but I've tried to find "Win32 API" in the DevCpp help and a C Library Reference Guide but to no avail. Is this in a header file? I found a w32api.h file but nothing there about SetPriorityClass. Scott -----Original Message----- From: Anders Eriksson [mailto:am...@sw...] Sent: Wednesday, November 13, 2002 3:11 PM To: dev...@li...; Scott Williams Cc: DevCpp UserList Subject: Re: [Dev-C++] Controlling Process Priority Hello Scott, Wednesday, November 13, 2002, 6:41:39 PM, you wrote: SW> Hi, SW> I can, of course, manually set the priority to Low via the Win2K Task SW> Manager but a) the setting resets to normal every time I launch another SW> application and b) I'm lazy and would prefer to have the program run in low SW> priority by default. So, I'm wondering if there's a way to compile the SW> program to have "Low" priority from the get-go. Look up the Win32 API: SetPriorityClass -- Best regards, Anders mailto:am...@sw... |