mikha-dev / mt4-websockets

Turns Metatrader4/MetaTrader5 into web socket client
https://dev4traders.com
80 stars 55 forks source link

cannot call 'Init', 'mt4-common.dll' is not loaded #12

Closed liuyan814 closed 7 months ago

liuyan814 commented 7 months ago

The new version of MT5 prompts this error when called: cannot call 'Init', 'mt4-common.dll' is not loaded The file is also under the path, it just says it can't be loaded. What is the reason for this?

segomaster commented 7 months ago

The new version of MT5 prompts this error when called: cannot call 'Init', 'mt4-common.dll' is not loaded The file is also under the path, it just says it can't be loaded. What is the reason for this?

Make sure to install Latest Microsoft Visual C++ Redistributable That worked for me.

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

liuyan814 commented 7 months ago

The new version of MT5 prompts this error when called: cannot call 'Init', 'mt4-common.dll' is not loaded The file is also under the path, it just says it can't be loaded. What is the reason for this?

Make sure to install Latest Microsoft Visual C++ Redistributable That worked for me.

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Thank you very much, after installing it, it no longer prompts an error.