Hi,
I'm programming under WindowsXP, VS, C++.

I would like to ask you, if there is any possibility of simulating keypress through assembler?
I've read lots of stuff on the net, but didn't found any code. I've heard of something like INT16 interrupt, but never wrote any code in assembler. (Just some stupid /add/ calls)

__asm {
...? ;want to do a keypress here, but how?
}

The reason why I need to use assembler calls is that keyb_event() function is being ignored by GameGuards (or maybe it's because of DirectInput in games?).

Please, give me some hints. Can't sleep before I'm done