Right down the right-liter or launch applications

When the program needs to support drag and drop, you can not start the (low-privilege process can not and high-privilege process communication), this time down the right and then need to start the application with administrator privileges.

Implementation:

1. First obtain permission levels explorer.exe process;

The main code is as follows:

2. permission to launch explorer.exe process level applications.

The main code is as follows:

 

Guess you like

Origin blog.csdn.net/zy1031393630/article/details/93485345
Recommended