Anyone familiar with Microsoft Spy ++ ?
I used it to listen to the messages going through the game (sent/received)...
What I already did is to emulate space-press in 90%.
There's only one thing I don't understand about Spy++...

In the screeny:
first green box - space-press emulated by following code:
Code:
lP := makeLParam($0001, $0039);
SendMessage(hMetin, WM_KEYDOWN, 32, lP);
SendMessage(hMetin, WM_CHAR, 32, lP);
lP := makeLParam($0001, $C039);
SendMessage(hMetin, WM_KEYUP, 32, lP);
first red box - space pressed in-game
second green box - enter-press emulated by following code:
Code:
SendMessage(hMetin, WM_CHAR, 13, 0);
second red box - enter pressed in-game
The not-so-funny part
1. Enter works as it should in both cases - emulated and 'legal'.
2. Space works the legal way ONLY.
3. What the hell are those marked by me letters ????
Anyone ?
[edit]
Did anyone try SendMessage from injected DLL ?