weird issue

06/07/2017 06:16 iCraziE#1
Got a program i wrote that simply suspends a process.. I wrote it on my laptop, it works perfectly on my desktop PC, but on my laptop it does not suspend at all.

Any ideas why it will only work on my desktop but not my laptop?

-- Laptop ---
Windows 10 Home 64bit
Windows 10 Version 1607 (Build 14393.1198)

-- Desktop --
Windows 10 Pro 64bit
Windows 10 Version 1703 (Build 15063.296)
06/07/2017 12:41 Underfisk#2
Btw are you pretending to sleep the process or kill it? because the term "suspend" its not exactlier.
If you just wanna sleep it and be in standbye use this

Quote:
#include <unistd.h>

unsigned int microseconds;
...
usleep(microseconds);
Now make a loop until you click some key or reach some condition.
Hope it helps
06/07/2017 13:39 BladeTiger12#3
Why doublepost?
[Only registered and activated users can see links. Click Here To Register...]

Btw just try like Lawliet said: #RequireAdmin
06/07/2017 18:38 Devsome#4
#closed [Only registered and activated users can see links. Click Here To Register...]
c++ or autoit