dingmaotu / mql-zmq

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

Windows 8.1 pro N on Macbook Bootcamp: cannot load .. Libraries\libzmq.dll [126] #22

Closed kriangkrait closed 5 years ago

kriangkrait commented 6 years ago

I've opened up this issue in case anyone is having the same problem.

A bit of background: Prior to this, I've had no problems whatsoever running the bindings with MT5 (x64) on a Lenovo notebook running Windows 8.1

As @dingmaotu has already explained in his installation guide a lot of people seem to be having problems with the x86 version of the MS VC++ redistributable.

I am currently using the 2015 14.02.3026 version and everything works fine.

I have also found it to stop working and generate the same error if I intentionally uninstall the 2015 redist.


Now the problem: A few days ago I installed windows 8.1 pro N on a Macbook running Bootcamp. I also installed the usual VC++ 2015 redist. using the same install files/version from my other system.

Strangely, the same code / settings now generates the "cannot load dll" on the Macbook!

I'm trying to think of reasons this could happen:

  1. Operating System: Windows 8.1 Pro vs Pro N??? (This sounds too silly!)
  2. Hardware difference: Macbook vs PC??? (This is also silly..)
  3. VC++ 2015 reacting differently on the environments? Possible .. but can't think of a reason
  4. Maybe there is something other than the standard settings (MS VC++ 2015 etc.) that I'm missing from my macbook system that prevents VC++ 2015 to execute properly??

If anyone stumbles upon this please share some suggestions :) I would like to also thank @dingmaotu for providing such a great binding. Powerful & easy to use!

ejtraderPlugins commented 6 years ago

@kriangkrait you my need dotnet 4.0

dingmaotu commented 5 years ago

Since there is no response for a long time I will close this issue.