vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
522 stars 281 forks source link

Cannot call 'MTConnector.dll::initExpert', 'MTConnector.dll' is not loaded #65

Closed cnbabycrazy closed 6 years ago

cnbabycrazy commented 6 years ago

vps:https://www.alibabacloud.com/product/ecs?spm=a3c0i.7919406.692950.dznavproductsa1.10de5371Ypdw5V#overview

system:Windows Server 2008 Standard (X86 based PC), IE 09.00, RDP, UAC, 1 x Intel Xeon E5-2680 v3 @ 2.50GHz, RAM: 387 / 1022 Mb, HDD: 30684 / 40957 Mb, GMT+08:00

MetaEditor Err Log: 0 00:47:26.292 Expert MtApi EURUSD.,H1: loaded successfully 0 00:47:26.292 MtApi EURUSD.,H1 inputs: Port=8222; BacktestingLockTicks=false; 3 00:47:29.199 Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\3A583B7241221ECE36936302092EE39E\MQL4\Libraries\MTConnector.dll' [126] 1 00:47:29.214 Cannot call 'MTConnector.dll::initExpert', 'MTConnector.dll' is not loaded 1 00:47:29.214 MtApi EURUSD.,H1: unresolved import function call 3 00:47:29.214 MtApi EURUSD.,H1: not initialized 0 00:47:29.214 MtApi EURUSD.,H1: uninit reason 8 0 00:47:29.214 Expert MtApi EURUSD.,H1: removed

MT4 Err Log: 2 00:54:38.217 Expert MtApi EURUSD.,H1: loaded successfully 2 00:54:39.576 Expert MtApi EURUSD.,H1: removed

Setup Info 20170920005839

cnbabycrazy commented 6 years ago

Some of these pseudo-VPS offerings don't provide a full Windows environment, and some DLL calls and dependencies will not work.

vdemydiuk commented 6 years ago

Please contact with me via skype: dem_dw. I will try to help you online.

cnbabycrazy commented 6 years ago

thanks, I solved this issue. Lacking those msvcp140d.dll vcruntime140d.dll ucrtbased.dll Wlanapi.dll files in server caused this issue. I'll add your skype later, there may have other issues.

vrdisoft commented 5 years ago

I have same error on Windows Server 2012 x64, how can I fix this error?

vdemydiuk commented 5 years ago

Have you tried to install related vcredist?

vrdisoft commented 5 years ago

Yes,install Microsoft Visual C++ 2010 Redistributable and Microsoft Visual C++ 2015 Redistributable.

Untitled

vdemydiuk commented 5 years ago

Please check missed libraries needed for MTConnector.dll with utility dependency walker.

vrdisoft commented 5 years ago

I checked missed libraries by dependency walker,but i can't find missed libraries in internet.

Untitled