Background mouse

I am writing a C # program that attaches to another process and reads memory, etc. from this other process. I am looking for a way to simulate mouse movements in this other process, but another process specifically blocks methods such as PostMessage, SendMessage, etc. I try to stay away from injections or writing to memory, so they are not an option for this. I was told that the best way is to create a virtual mouse driver and connect it to another process. Does anyone have other ways that I could do this, or how could I connect to a virtual mouse driver?

+3
source share
3 answers

Will using a separate program, such as autohotkey, control the movement of the mouse, doable? Because this is what I would do.

0
source

I'm not sure which program you are targeting, but I saw cool workarounds for games that block PostMessage (games that should go without a name; p).

I do not know if they will work with virtual mouse drivers. I heard about this, but I feel that if PostMessage is blocked, it will be fruitless. Aren't the mouse drivers just sending messages to the game window using standard Windows messages?

, PostMessage/SendMessage, - DLL Windows (, ?). DLL , , , .

DLL . , ( , ). , , , PostMessage , PostMessage.

, , , , , Stack Overflow.

, , , - , . , :)

0

SCAR ( RuneScape) java ( SMART) " " . , #, Java. SMART ( ), - "Silent Mouse". , java.exe, JVM , . , , , .

0

Source: https://habr.com/ru/post/1712815/


All Articles