Начиная с терминала 11.4, включая новый 12й, перестал работать trans2quik. Тестировалось только под wine.
В моём коде вызов TRANS2QUIK_SEND_ASYNC_TRANSACTION вообще приводит к падению терминала.
Примеры из trans2quik:
1. API_Tester_DLG_x64.exe - при попытке отправить транзакцию сразу приходит "DLL not connected"
2. test_x64.exe синхронная:
3. test_x64.exe асинхронная:
Дамп:
В моём коде вызов TRANS2QUIK_SEND_ASYNC_TRANSACTION вообще приводит к падению терминала.
Примеры из trans2quik:
1. API_Tester_DLG_x64.exe - при попытке отправить транзакцию сразу приходит "DLL not connected"
2. test_x64.exe синхронная:
| Код |
|---|
01b8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION test_q.connect_test> 0 TRANS2QUIK_SUCCESS -------------------------------------------------- Quik is connected! -------------------------------------------------- test_q.is_dll_connected_test> 10 TRANS2QUIK_DLL_CONNECTED test_q.is_quik_connected_test> 8 TRANS2QUIK_QUIK_CONNECTED subscription is done.. test_q.send_sync_transaction_test> 11 TRANS2QUIK_DLL_DISCONNECTED Unhandled Exception: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. at (wrapper native-to-managed) test3.test_q.connection_status_callback_Report(int,uint,intptr) [ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. ExtEC=233, EMsg=, EMsgSz=50 |
| Код |
|---|
018c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION test_q.connect_test> 0 TRANS2QUIK_SUCCESS -------------------------------------------------- Quik is connected! -------------------------------------------------- test_q.is_dll_connected_test> 10 TRANS2QUIK_DLL_CONNECTED test_q.is_quik_connected_test> 8 TRANS2QUIK_QUIK_CONNECTED subscription is done.. Send async transaction res=0 TRANS2QUIK_SUCCESS ExtEC=0, EMsg=, EMsgSz=256 Unhandled Exception: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. at (wrapper native-to-managed) test3.test_q.connection_status_callback_Report(int,uint,intptr) [ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. |
Дамп: