Maybe C# DLL file should be placed in MT's main directory. try it ! maybe MT can not find where the dll in, MT's main directory is default dir generally.
Directory, from which the MetaTrader 5 client terminal was started;
DxdCn:
I found the solution: one has to provide a "terminal.exe.config" file with the proper xml statements in there:
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="mql5\libraries" /> </assemblyBinding>

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
in this article from the documentation https://www.mql5.com/en/docs/runtime/imports there is this statement:
If the DLL library uses another DLL in its work, the first one cannot be loaded in case when there is no second DLL.
What does this mean?
I have a DLL which uses another DLL (C#) and everytime when attaching the EA to a chart the application crashes.
Any ideas how to avoid this?
Thanks,
Juergen