Alternative to SendKeys when running over Remote Desktop?

前端 未结 4 1237
误落风尘
误落风尘 2020-12-05 04:40

I have an application which injects keystrokes into applications via SendKeys.

Unfortunately, the application will not work when I am running it via Remote Desktop b

4条回答
  •  执笔经年
    2020-12-05 05:38

    In my case I was successfully using WinAPI's SendInput with hardware scan codes. It seems like SendKeys maps chars to scan codes incorrectly.

提交回复
热议问题