0

I am using startProcess from osproc to create a process but it seems that the priority is hardcoded in the source code to normal. How to start a process with a lower priority?

I've tried to copy paste startProcess with a specific priority in my source code but have errors I do not know how to deal with. I also tried to call winlean.createProcessA(...) but get undeclared identifier.

Any idea?

xbello
  • 7,223
  • 3
  • 28
  • 41
Fabien
  • 1
  • 1
  • Could you share your call to `createProcessA()`? Maybe you have to use `createProcessW()` instead. – xbello Jan 08 '20 at 09:18
  • the proc in winlean is createProcessW, looks like that has the priority argument, but i'm not windowsy enough to know how to use it – shirleyquirk Sep 09 '20 at 23:53

0 Answers0