VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Global Keyboard Hook Dll

Gerco Dries  (4 Submissions)   Libraries   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

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 (4(4 Vote))

Download Global Keyboard Hook Dll

Global Keyboard Hook Dll Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters