Lyle Kopnicky wrote:
I'm trying to capture keyboard events using SetWindowsHookEx(). I've
tried to set this up using the Win32::API and Win32::API::Callback
modules. But I'm not getting any events.
Umm, according to MSDn docs your hook code must be in a DLL. See:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/msdn_hooks32.asp

But according to some other sources there are work-arounds:

http://neworder.box.sk/news/10952

Now the question is, can you pull off that work-around using Perl?

You might also be interested in my rather basic intro to Win32 hooks. I wrote it before having taken any courses in WIn32 programming so the code isn't that good to begin with. But I've tried to explain most of the concepts on the way. Here you are:

http://tols17.oulu.fi/~vtatila/ohjy/english/

--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to