Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Hooking into a specific application

Posted on 2006-11-08
4
Medium Priority
?
155 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:WoodyJ007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:WoodyJ007
ID: 17896932
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.
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 1000 total points
ID: 17900982
If I understand correctly, you should NOT build a keyboard hook since it would just capture all keys that this application is receiving. Instead, you need to use a message hook or maybe even a procedure hook to capture the keyboard messages that it is sending to all other applications. The MadComponents have often be mentioned as being very useful to do such a thing so a link to http://www.madshi.net is appropiate here. :-)
0
 

Author Comment

by:WoodyJ007
ID: 17905229
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
0
 

Author Comment

by:WoodyJ007
ID: 17945375
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
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question