How to change compiled .exe task priority via code?(the one you change by task manager)
When I hit F5 I need to have what i see to have higher priority...and how could I change a running process priority?
i'm using getdesktop function to capture a Direct3d windowed application screen..but this application takes too much CPU power to let me do getdesktop() copy operations, so I need to have my compiled exe with much priority.
Or may be there's a way to grab the d3d application screen only, without getdesktop()?
And what if I would need to send keys input to this application?
thx :)
When I hit F5 I need to have what i see to have higher priority...and how could I change a running process priority?
i'm using getdesktop function to capture a Direct3d windowed application screen..but this application takes too much CPU power to let me do getdesktop() copy operations, so I need to have my compiled exe with much priority.
Or may be there's a way to grab the d3d application screen only, without getdesktop()?
And what if I would need to send keys input to this application?
thx :)