c++ - cygwin compiled exe file does not run correctly in windows
我想大声告诉你
我想大声告诉你 2017-05-16 13:26:36
0
1
579

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...

运行样子如下:

我想大声告诉你
我想大声告诉你

reply all(1)
漂亮男人

It may be that the permissions are not enough and administrator permissions are required

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!