Hi there,
I am creating a windows service which uses the SendInput API to send keypresses to an application (must be SendInput, SendKeys doesn't work).
For some reason it does not work in a windows service, but the exact same code works flawlessly in a windows form.
I'm guessing there is some sort of extra variable i have to add to get it to work?
Any ideas?
Thanks.
I am creating a windows service which uses the SendInput API to send keypresses to an application (must be SendInput, SendKeys doesn't work).
For some reason it does not work in a windows service, but the exact same code works flawlessly in a windows form.
I'm guessing there is some sort of extra variable i have to add to get it to work?
Any ideas?
Thanks.