Link to home
Start Free TrialLog in
Avatar of WoodyJ007
WoodyJ007

asked on

Hooking into a specific application

Hi Guys,

I'm trying to write a program to hook into a specific application and capture the keyboard events.  

Before you ask I'm not writing snooping software the app in question is called RCMan.exe and is a hidden application that appears to accept infrared signals from my external soundcard and turn them into keyboard presses which is passed on to a bit of software written by creative.

I want to intercept these keyboard messages and redirect them into my application.

Many Thanks
Woody
Avatar of WoodyJ007
WoodyJ007

ASKER

by the way I used this http://delphi.about.com/library/bluc/text/uc063001a.htm as a starting point but I'm not sure how to make it hook into the specific application I want.
ASKER CERTIFIED SOLUTION
Avatar of Wim ten Brink
Wim ten Brink
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the link.  I've had a look at it and it doesn't seem to do what I want.

I found out last night that I need to intercept a particular message.  Something like WM_USER + 12268.

The lparm of that message appears to be the key on the remote pressed.  If I could somehow intercept this message and handle it in my application then that would do the trick.

After spending many hours trying to solve this I've decided to give up and buy another remote that comes with an SDK.  If you can point me in the right direction of a IR remote that I can easily talk to you can have the points.

Thanks
Woody
I revisited your link and while it didn't help with my original problem it did help a little with something else I was working on.

Thanks