dingmaotu / mql-zmq

ZMQ binding for the MQL language (both 32bit MT4 and 64bit MT5)
Apache License 2.0
543 stars 298 forks source link

[Help Required] Unable to load libzmq.dll (error : 193) when running MT4 on AWS instance #52

Closed bhavyalatha26 closed 4 years ago

bhavyalatha26 commented 4 years ago

Hi Team,

I am stuck with below issue, while setting up the MT4 on a remote AWS instance.

Cannot load 'C:\Program Files (x86)\MetaTrader ECN - FXOpen\MQL4\Libraries\libzmq.dll' [193]

In my local machine it works fine . But I encounter this issue on remote instance only. I am running it as Admin and installed MT4 to same location on both (local and remote).

Instance Type : Microsoft Windows Server 2019 Base. System Type : 64-bit x64 (same as my local machine)

Can you please help understand what could have caused the issue. PFA the screenshot for the same

NOTE : I have already enabled "Allow DLL imports" option in Tools > Options > Expert Advisors tab on MT4 client terminal

image

TIA.

Regards, Bhavya.

bhavyalatha26 commented 4 years ago

Ok, I got the issue. The installed runtime was C++ 2015 Redistributable (x64) .

I upgraded to (x86) after referring this comment and it works now.

Thanks for the open source library !

Cheers, Bhavya.