CBT钩子不工作在Windows Vista [英] CBT Hook not working in Windows Vista

查看:113
本文介绍了CBT钩子不工作在Windows Vista的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用一个CBT钩子来接收HCBT_MOVESIZE通知。它工作正常的所有​​应用程序,当我从我的桌面上的文件夹运行我的程序。当我安装了应用程序的程序文件和程序文件(x86文件夹中我只收到通知,我自己的应用程序的.exe文件的签署,并完全在Windows XP中,我只收到的是Vista x86这些错误/ 64。任何人都可以提供关于如何解决此有什么建议?谢谢!

I am trying to use a CBT hook to receive HCBT_MOVESIZE notifications. It works fine for all applications when I run my program from a folder on my desktop. When I install the application to the "Program Files" or "Program Files (x86" folder I only receive notifications for my own application. The .exe file is signed and works perfectly in Windows XP. I am only receiving these errors in Vista x86/x64. Can anyone offer any suggestions on how to troubleshoot this? Thanks!

推荐答案

可能是一个UIPI问题:

Might be a UIPI issue:

用户界面特权隔离   (UIPI)实现的限制   Windows子系统是prevents   来自低权限的应用   发送窗口消息或安装   挂钩在更高的特权过程。

User Interface Privilege Isolation (UIPI) implements restrictions in the windows subsystem that prevents lower-privilege applications from sending window messages or installing hooks in higher-privilege processes.

这是微软的 Windows完整性机制设计

这篇关于CBT钩子不工作在Windows Vista的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆