Knowledge of the topic: C / C++, Windows API, C#, and something along these.
I have an application written on C#. We will call it A. Application A uses the Windows API to simulate keyboard key press (TAB, some text, SHIFT) using SendInput (link
). I can note that when using this simulation method in applications such as Notepad, Chrome works without any problems.
The B application, which needs to be filled in by simulating keys, is written in C/C++, but I do not know which version and details. If there is a familiar one, it's about Micros Fidelio.
The problem is that when simulating the TAB keys from application A, application B stops, jams, undetect TAB key press. Even by physically pressing the TAB keyboard the cursor does not move from its current position. Only after a few key press passes. Another thing that happens is keyboard shortcuts like Alt + N also do not work sometimes and sometimes work. Is there any buffer with the simulated keys and when you fill that buffer you can not perform the next push?
My question is, does anyone have a way to solve the problem of omitting TABs?
What I have tried:
I've tried out delay between TABs of the 100, 250, 500 ms variety, but they still detect.
What I have noticed:
* when restarting Application B the simulation is working, but after a certain period of time it accumulates again and starts to detect
* when the keyboard language is switched to Cyrillic, the keyboard shortcuts do not work and the writing of Cyrillic text goes out - ?????
I have test also AutoHotKey and there is a problem there also.