拖放不再工作,一旦应用程序被安装 [英] drag drop no longer working once application gets installed
问题描述
我有了阻力在应用程序和拖放功能来导入图像和视频的。在开发,并通过Visual Studio这个从来没有给任何问题的测试。
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.
通过设立项目安装之后,一切都在应用程序工作正常,但拖放,这似乎是无所事事。是否有需要通过一个安装程序,或类似这种事情可能会阻碍安装后拖放的方式来设置安全设置?
After installing through a set up project, everything in the application works fine, except the drag and drop, which seems to be doing nothing. Are there any security settings that need to be set through an installer, or something of that nature that could be preventing drag and drop after installation ?
推荐答案
是的,你拖动+下降不会,如果你的程序使用提升的权限运行允许的。这就是所谓的用户界面特权隔离,Vista的UIPI的简称。这是UAC互补,通过在你用它来提升你的流程清单条目uiAccess属性控制。 。除了作为一个证书和一个合适的安装位置。
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.
现实:没有提升你的程序。这是一个安全漏洞,当限制程序可以得到他们的对象,在你的特权程序下降。 UIPI试图阻止这一点。
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.
但首先调试程序。
这篇关于拖放不再工作,一旦应用程序被安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!