Search Tools Links Login

System wide shell hook

Posted: 2002-06-01
By: ArchiveBot
Viewed: 67

Filed Under:

Visual Basic 6

Title Uploaded Size
CODE_UPLOAD70176232000.zip 9/3/2020 3:45:00 PM 3,385

Setting System wide Shell hook. Sample application search for all shell event and write them into log. When new window created, activated, destroyed, language locale change, task manager activated - you'll receive notification.

Original Author: Ark

Assumptions

All docs say that it's impossible to set system wide hook from VB without standard dll. Here it is! Using undocumented shell32 function calling by ordinal (thanks to James Holderness http://www.geocities.com/SiliconValley/4942/contents.html for his great job for finding this and many other functions).Sample application search for all shell event and write them into log. When new window created, activated, destroyed, language locale change, task manager activated - you'll receive notification.


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.