Quote:
Originally Posted by VistaVick
I ended up just using virtual key codes for almost everything with your program, which worked much better than keystrokes in this situation, now everything works great with no real lag problems.
|
That's great !
Now I don't understand why the managed code is not able to send up and down, whereas the platform invoke is able to... go figure. Because that's the difference between "PressKey" and "Keystroke". "PressKey" is using platform invoke to simulate press and release of a key (I needed this for the Firefly Mini to not disrupt normal keyboard use and that's why it is not documented) and "Keystroke" is the managed .Net way of sending keystroke (so in theory it should be the preferred way : also it seems that during the vista beta stage, there was a security problem with the way keystroke were sent...)
Regards,
Stéphane.