How to write injection for PWI in VB.Net

06/30/2011 09:14 Seraphimfreak#1
Heya guys,
as the title says i'm searching for a way to write an injection for PWI in order to send keys to a minimized game window ;)
The normal way with PostMessage or SendMessage doesn't work. The Keys are noticed by the game but nothing happens though :o
So i would really appreciate help :)

Greets
06/30/2011 13:11 DitDat#2
I got sendmessage to work for my login

I had to use WM_KEYDOWN + up for enter + tab buttons and WM_CHAR for normal keys

I dont use any sort of key send in game anymore, i used to use autoit ctrlsend to send keys in game and vaguely remember having to turn off pwprotector to make it work
06/30/2011 14:57 Seraphimfreak#3
can you explain how you turned pwprotector off??
because i did it with autoit, too.
and with Spy++ i checked that my messages are completely the same as if pushed a key normal ingame, but nothing happens :o
06/30/2011 15:31 DitDat#4
i just closed the process directly, pw-my dont seem check pwprotector anymore, i dunno about pwi

If ProcessExists("pwprotector.exe") Then ProcessClose("pwprotector.exe")

i havnt had to do it in my c# project yet but i havnt got very far yet either
06/30/2011 16:31 Seraphimfreak#5
mh i don't have such a process in task manager while running PWI :/