darwinex / DarwinexLabs

Datasets, tools and more from Darwinex Labs - Prop Investing Arm & Quant Team @ Darwinex
https://www.darwinex.com
BSD 3-Clause "New" or "Revised" License
338 stars 296 forks source link

Cannot call 'libzmq.dll::zmq_ctx_new', DLL is not allowed #18

Closed paul-jackson-dev closed 5 years ago

paul-jackson-dev commented 5 years ago

Just a heads up, I did a fresh install of MT4 and DLL imports were preset to off.

To fix, Tools > Options > Expert Advisors > Allow DDL Imports.

I also checked Allow Automated Trading.

Thank you for all of the open source code.

integracore2 commented 5 years ago

Great to hear you were able to resolve the DLL issue @jackshankenburg .

You're very welcome!

paul-jackson-dev commented 5 years ago

I experienced a second issue with libzmq.dll. I did a fresh install on a Windows 10, 64 bit machine and couldn't get libzmq.dll to load.

Found the answer here https://github.com/dingmaotu/mql-zmq/issues/17

libzmq.dll requires Microsoft Visual C++ 2015 Redistributable (x86) to compile.

integracore2 commented 5 years ago

Thank you for sharing your debug experience here @jackshankenburg !

We’ll update our documentation to reflect this dependency.

satz275 commented 4 years ago

@jackshankenburg - I am still having issues, same error. OS specification Windows 10 Pro

satz275 commented 4 years ago

Error Msg- 2020.03.04 12:01:33.054 Cannot call 'libzmq.dll::zmq_ctx_new', DLL is not allowed 2020.03.04 12:01:33.054 DWX_ZeroMQ_Server_v2.0.1_RC8 USDJPY,H1: unresolved import function call 2020.03.04 12:01:33.059 DWX_ZeroMQ_Server_v2.0.1_RC8 USDJPY,H1: global initialization failed.

I tried all the optioned and nothing is workings.

satz275 commented 4 years ago

2020.03.04 12:23:12.929 Cannot load 'C:\Users\test\AppData\Roaming\MetaQuotes\Terminal\3B534B10135CFEDF8CD1AAB8BD994B13\MQL4\Libraries\libzmq.dll' [126]- Error Msq

paul-jackson-dev commented 4 years ago

@satz275

libzmq.dll requires Microsoft Visual C++ 2015 Redistributable (x86) to compile.

Good luck.

satz275 commented 4 years ago

@jackshankenburg - It is working now

Thanks for your support. much appreciated !!!