Drop and drop no longer works after installing the application

I have a drag and drop app to import images and videos. When developing and testing through Visual Studio, this never caused a problem.

After installation through the installed project, everything in the application works fine, except for drag and drop, which seems to do nothing. Are there any security settings that need to be set through the installer or something similar that might prevent drag and drop after installation?

+3
source share
2 answers

Yes, your move + crash will not be allowed if your program works with higher permissions. It is called "User Interface Privilege Restriction," Vista UIPI for short. It complements UAC and is controlled by the uiAccess attribute in the manifest entry, which you will use to enhance your process. As well as the certificate and the correct installation location.

Really: do not upgrade your program. This is a security hole when restricted programs can delete their objects in your privileged program. UIPI is trying to prevent this.

But debug your program first.

+3
source

, . .pdb , .

, Visual Studio Debug → Attach to Process. "". .. .

, , .

+3

Source: https://habr.com/ru/post/1749554/


All Articles