Convert to C#

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113
Checking this option and I can see that emulations is converted in simple way like

instance.SendText("Text", 10);

Means without locking them. Is that good and right way how it should convert ?

Thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Should work fine in most cases
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
This is the answer of main developer. If you have example when it's not working let me know
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113
This is the answer of main developer. If you have example when it's not working let me know
Can you please answer for what is lock(SyncObjects.InputSyncer) I'm totally confused now as I thought I have to lock instances before any emulation and lists/tables.

Is there any changes and lock is not used anymore ?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
This method will use all possible locks when it's needed among instances which will be created by ZP, not by C# code manually.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113
This method will use all possible locks when it's needed among instances which will be created by ZP, not by C# code manually.
That is quite good news. Can we know from what version and what locks we can throw out already ?
This really can save lot of space in C# if not to use locks. :-) Do that apply for lists, tables, click emulation, mouse move also ?

Thanks
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
My reply was related to instance.SendText method only
 
Последнее редактирование:
  • Спасибо
Реакции: lokiys

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)