Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Suppose there are three applications,
1. MouseSimulator
2. KeyboardSimulator
3. SimulatorTracker (my Custom Application).

First of all,
1. MouseSimulator can change cursor status, move the Cursor all over the screen, Click the mouse buttons.
2.KeyboardSimulator can send keys to any Application using keybd_event or SendKeys.

Is there any way to track the application details of MouseSimulator and KeyboardSimulator to create SimulatorTracker Application?

I want to write the Custom Application SimulatorTracker using C++ or C#.
Posted
Updated 2-Dec-15 1:31am
v2

1 solution

You could try to look into Global Hooks[^].
As the simulation software has to inject mouse movements and keyboard strokes in to the system, it might be possible to catch it with hooks.

Global System Hooks in .NET[^]

Using Window Messages to Implement Global System Hooks in C#[^]
 
Share this answer
 
Comments
Member 11487608 5-Dec-15 1:32am    
Hi,

Thanks for the reply.

I want to know is it possible to know the software or driver which has injected the movements into the system (like Antivirus)?
George Jonsson 5-Dec-15 1:37am    
I don't think so, but I don't know.
Never tried to do something like that.
Member 11487608 5-Dec-15 11:25am    
Is it possible to know which application is having the mouse control?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900