A shutdown program made in C++. It will call system("shutdown -s -t 60"); and other codes.
It can run normally in the local cygwin environment. But put the program in other places Windows cannot be used.
Then I added 3 dll files. It can run, but the system("shutdown -s -t 60"); command causes the computer to not respond when running the code.
On my computer It will shut down.
The three added dll files are 1.cygstdc++-6.dll 2.cygwin1.dll 3.cyggcc_s-seh-1.dll
This is a simple program. It just starts the computer A program, and then you can use your mobile phone to control this program on your computer. Solve...
运行样子如下:
It may be that the permissions are not enough and administrator permissions are required