drag drop no longer working once application gets installed

后端 未结 2 1288
醉酒成梦
醉酒成梦 2021-01-21 04:34

I have an application that has drag and drop functionality to import images and video\'s. While developing, and testing through Visual Studio this has never given any problems.<

2条回答
  •  自闭症患者
    2021-01-21 04:45

    Yes, your drag+drop will not be permitted if your program runs with elevated permissions. It is called User Interface Privilege Isolation, Vista UIPI for short. It is complementary to UAC and controlled by the uiAccess attribute in the manifest entry that you'd use to elevate your process. As well as a certificate and a proper install location.

    Realistically: don't elevate your program. It is a security hole when restricted programs can get their objects dropped in your privileged program. UIPI tries to prevent that.

    But debug your program first.

提交回复
热议问题