Windows XP/7 复制文件挂钩
可以挂钩文件夹修改操作(复制、删除、重命名等),但不幸的是我需要挂钩这些应用于文件的操作。有什么想法吗?
环境:
Delphi XE2、Windows XP/7/2008
谢谢。
There's a possibility to hook folder modification operations(copy, delete, rename and so forth), but unfortunately I need hook those operations applied to files. Any thoughts?
Environment:
Delphi XE2, Windows XP/7/2008
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道两个选项
1)您可以挂钩 WinAPi 函数,例如 复制文件 和 CopyFileEx 创建系统范围钩子,自己编写钩子或使用 API 钩子库,例如 madCodeHook 或 Deviare API hook (我使用这两个库都取得了很好的效果。)
2 ) 编写文件系统筛选器驱动程序。
I know two options
1) You can hook the WinAPi functions like CopyFile and CopyFileEx creating a system wide hook, wrtting the hook yourself or using a API hook library like madCodeHook or Deviare API hook (I've used both libraries with great results.)
2) Writting a File System Filter Driver.