Vb6 Shellhooking无法正常工作 [英] Vb6 Shellhooking is not working

查看:104
本文介绍了Vb6 Shellhooking无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VB6应用程序的前端有很多菜单,它将加载Java applet窗口.我需要捕获Windows事件(已创建和已销毁).根据事件,我正在做一些后台过程.

我曾尝试使用RegisterWindowMessage("ShellHook")和SetWindowsHookEx来实现,以获取导致成功的Windows事件,但是Java Jdialog窗口创建和销毁事件不会出现在我的WndProc/ShellProc模块中.有没有 其他api/dll或捕获所有系统范围Windows事件钩子的方法即可实现.

预先感谢.

I'm having the VB6 application a front end which has the numerous menus will load the java applet window. I need to capture the windows events(Created and Destroyed). Based on the events I'm doing some background process.

I had tried implemented using RegisterWindowMessage("ShellHook") and SetWindowsHookEx to grab the Windows event it results success but the Java Jdialog window creation and destroy events are not coming to my WndProc / ShellProc module. Is there any other api / dll or way to capture all the system wide Windows Event hooks to achieve this.

Thanks in advance.

推荐答案

 该论坛适用于VB.NET.如果您对VB6有疑问,则应使用仍然支持VB6的论坛之一.以下是其中两个的一些链接.

 This forum is for VB.NET. If you have a question about VB6 then you should use one of the forums that still support VB6. Below is some links to 2 of them.

http://vbcity.com/forums/26.aspx

http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6和更早版本


这篇关于Vb6 Shellhooking无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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