VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Global Keyboard Hook Dll

by Gerco Dries (4 Submissions)
Category: Libraries
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

This is a dll to intercept all keyboard messages to any program in Windows (except for the ALT-TAB, CTRL-ALT-DEL and CTRL-ESC keycombo's). It uses a C++ dll found right here on VBC, I just wrapped that one into a friendly ActiveX DLL for ease-of-use.

Assumes
You need to compile the C++ DLL first (With MSVC++ 6), since PSC doesn't allow binary uploads. Then compile the GlobalHook.dll (with VB6). Then you can open and run the sample program.
Side Effects
Be aware that you should NOT try to start 2 hooks at the same time. The code should block it, but just in case it doesn't, I don't know what will happen. You have been warned.

Rate Global Keyboard Hook Dll

Download Global Keyboard Hook Dll

Download Global Keyboard Hook Dll (14 KB)

Global Keyboard Hook Dll Comments

No comments have been posted about Global Keyboard Hook Dll. Why not be the first to post a comment about Global Keyboard Hook Dll.

Post your comment

Subject:
Message:
0/1000 characters