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

Cannot load libzmq.dll [998] #49

Closed owinogradow closed 10 months ago

owinogradow commented 4 years ago

The problem is that, libzmq.dll library can't be loaded into MT5 after metatrader update from 2350 to 2450. It prints the 998 error code, not 126 as it is common when the environment lacks with vc 2015.

I use MT5 2450 build with WINE environment. The libzmq.dll is taken from here https://github.com/dingmaotu/mql-zmq/tree/master/Library/MT5. I also tried with libraries taken from VC2010 directory. Before MetaTrader update, the library could be loaded, so I think that the problem is not connected with the vc libraries.

problem Maybe someone has an idea how to solve this issue?

rennyst commented 3 years ago

Same issue.But I never made it load,how did you load it before update?And how did you use visual studio wirh wine?

raulvictorrosa commented 3 years ago

Same problem here.

I'm using MT5 build 2669

image

raulvictorrosa commented 3 years ago

You need to get the dll from folder MT5 or respective to your MT and put the dlls in the folder Libraries in <MetaTrader Data>\MQL5\Libraries>

Sonotoki-da commented 1 year ago

You need to get the dll from folder MT5 or respective to your MT and put the dlls in the folder Libraries in <MetaTrader Data>\MQL5\Libraries>

Can confirm, it works. Running MQL5-JSON-API. image