IShellExecuteHook.Execute [英] IShellExecuteHook.Execute

查看:408
本文介绍了IShellExecuteHook.Execute的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能告诉我如何在Delphi中使用IShellExecuteHook.Execute吗?

Can someone show me how to use "IShellExecuteHook.Execute" in Delphi please?

信息: IShellExecuteHook :: Execute方法

说明:
这种方法被称为随时给ShellExecute或的ShellExecuteEx功能
调用。这发生在一个文件在资源管理器或在运行对话框中双击
使用复选框。

Description: This method is called any time the ShellExecute or ShellExecuteEx functions are called. This happens when a file is double-clicked in Explorer or when the Run dialog box is used.

感谢。

推荐答案

以下链接EDN看起来像它会给你你所需要的:的如何挂钩的ShellExecute调用(IShellExecuteHook)

The following EDN link looks like it will give you what you need: How to hook ShellExecute calls (IShellExecuteHook)

请注意,因为这需要64位的外壳扩展,并因为Delphi只产生32位的图像,你需要使用不同的语言也不会在64位Windows上工作。我还注意到,IShellExecuteHook是pcated作为Vista的德$ P $。

Be aware that it won't work in 64 bit Windows because that requires 64 bit shell extensions and because Delphi only produces 32 bit images you would need to use a different language. I also note that IShellExecuteHook is deprecated as of Vista.

这篇关于IShellExecuteHook.Execute的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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