Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still getting "Cannot load 'libzmq.dll' [126]" error #18

Closed
doobedoobedoo opened this issue Mar 23, 2018 · 2 comments
Closed

Still getting "Cannot load 'libzmq.dll' [126]" error #18

doobedoobedoo opened this issue Mar 23, 2018 · 2 comments

Comments

@doobedoobedoo
Copy link

Hey, sorry to raise the issue again even though it was solved (for some) before.

Even after using all the fixes provided in the previous threads (installing visual C++ 2015 + checking that &key[32] below #define SOCKOPT_CURVE_KEY(KeyType,Macro) is changed to uchar &key[] in SocketOptions.mqh) but I still get the same "Cannot load 'libzmq.dll' [126]" error. Anybody having the same problem or a fix ??

Thanks so much!!

@dingmaotu
Copy link
Owner

Hi, I always suggest the following procedure:

  1. Check the version of your MT4/MT5. For MT4, you need 32bit DLL; for MT5, you need to determine if it is a 32bit or 64bit version. Keep them consistent.
  2. Check if you have the Visual C++ 2015 runtime installed: you need 32bit Visual C++ runtime if you are using MT4 or 32bit MT5, and 64bit Visual C++ runtime if you are using 64bit MT5.
  3. Check if you have both libzmq.dll and libsodium.dll put in your Libraries folder

@doobedoobedoo
Copy link
Author

Thanks a lot for your answer! Indeed it was a 32/64 bit dll issue: I moved the libzmq.dll and libsodium.dll libraries to the SysWOW64 folder of my computer, now it works! This thread helped me understand as well https://www.mql5.com/en/forum/122992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants