SharpHook
SharpHook copied to clipboard
Inconsistent input and output characters
I have two computers. Computer 1 is remotely connected to Computer 2 through VDI. I wrote a WPF program to output the input string to the Notepad of Computer 2 by calling the SimulateTextEntry method. This function works normally on Computer 1 and can output the correct string. However, when I enable the software on Computer 1, call the same method, and move the mouse cursor to Notepad of Computer 2, the output string does not match the input character. In English input method, the input string "11111" becomes "nnnnn=9" on computer 2