PDA

Click to See Complete Forum and Search --> : Using SetWindowsHookEx from a DLL


Razzle
Dec 13th, 2000, 11:02 AM
I need to create a keyhook dll for an app that I made with VB to replace certain keystrokes.

Can anyone explain to me how I can do this?
I know there are sample applications at msdn.micrsoft.com but I never got them working.

I need two functions for export:
InstallHook and RemoveHook

They should be called by the VB App on load/unload.

The hook callback function in the DLL should look for certain keystrokes and replace certain ASCIIs with others.