V
V
Vitaly2014-04-11 09:17:19
C++ / C#
Vitaly, 2014-04-11 09:17:19

.net library InputSimulator - Cyrillic does not work, what should I do?

I ask for advice from the world mind :) In my program I use the InputSimulator library to emulate input in the RDP terminal (in another way, the input does not work, the only way that worked), everything is fine with English, the program successfully does what it was created for, but instead of introduces Russian letters ????? ???? etc. who worked with this library can know how to make her eat Russian? Or if not, do you have any ideas how to emulate keyboard input in another way so that it works in the RDP session window?
None of the methods described here, and the more simple ones like SendKey, etc. in RDP do not work, only in the local computer. Thank you in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aush, 2014-04-11
@aush

The InputSimulator is eventually called

[DllImport("user32.dll", SetLastError = true)]
public static extern UInt32 SendInput(UInt32 numberOfInputs, INPUT[] inputs, Int32 sizeOfInputStructure);

www.pinvoke.net/default.aspx/user32.sendinput

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question