Click to See Complete Forum and Search --> : How to set up SetWindowsHookEx() to hook keyboard inputs?


Raphael Phan
March 29th, 1999, 10:00 AM
Hi,


I have read that we can use SetWindowsHookEx to set a system-wide hook keyboard inputs. Is it only possible to set a system-wide hook by calling a function from the dll that we write? Can we do it without a dll? I have searched around for examples but none have been able to give me a clear picture on how to achieve this. Please help


Raphael

indika
March 29th, 1999, 12:20 PM
As far as I know, hook fuctions can oly be done in dlls. if you find a way to do it without a dll, let us know.


if you need code to do this in a dll email me.

Troy T
April 30th, 1999, 03:46 AM
Could you possibly post some sample code on how to do this? That would be very helpful as I also need to implement this process, and I've never worked with hooks before. Thanks!



- Troy