For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > November 2005 > need to hook an application and catch all the user input









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author need to hook an application and catch all the user input
Elif Erkul

2005-11-17, 7:02 pm

I want to hook an application and catch all the user input (mouse, keyboard,
etc) about it. I want to know which button click, what data is entered, etc.
when I find the main window and hook it with WH_CALLWNDPROC type of hook, I
can only cath that main window's window messages.
with what kind of hook mechanism can I get all the messages from all the
windows of the application?
Is it possible to hook only that application (I don't want to use a
system-wide hook) and track all the user input to the windows and dialogs of
that applicaiton?
please answer.
Thank you.

Elif (Erkul) Ceylan
Josh McFarlane

2005-11-17, 7:02 pm

Elif Erkul wrote:
> I want to hook an application and catch all the user input (mouse, keyboard,
> etc) about it. I want to know which button click, what data is entered, etc.
> when I find the main window and hook it with WH_CALLWNDPROC type of hook, I
> can only cath that main window's window messages.
> with what kind of hook mechanism can I get all the messages from all the
> windows of the application?
> Is it possible to hook only that application (I don't want to use a
> system-wide hook) and track all the user input to the windows and dialogs of
> that applicaiton?
> please answer.
> Thank you.


For what purpose? What application?

Elif Erkul

2005-11-17, 7:02 pm

an application of my company. we don't want to change the code of app.
Instead we want and need to track the user actions for a training program.

"Josh McFarlane" wrote:

> Elif Erkul wrote:
>
> For what purpose? What application?
>
>

Elif Erkul

2005-11-18, 3:57 am

it is an MFC MDI application, written in VS 6.0 C++
please give me some technical solution about the question.
thank you

"Elif Erkul" wrote:
[color=darkred]
> an application of my company. we don't want to change the code of app.
> Instead we want and need to track the user actions for a training program.
>
> "Josh McFarlane" wrote:
>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com