Hi, I'm trying to work with DLL's on MQL5. I use these just a little and I have some doubts about:
Whatever DLL works with MQL5?
Is there any difference between DLL's writed in C++ or .NET for MQL5. If yes, how it works?
Is there any kind of special complilation to use one DLL to work with a specific language?
Thanks.
You can write a dll in .Net and export the functions required but it has to be a c++ mixed mode assembly (ie Managed/Unamanged code).
For example if you wanted to write your code in c# assemblies then you would need to create a mixed mode c++ assembly. You would then define your export function in normal C++ in your function you could then invoke the classes in the # assembly.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, I'm trying to work with DLL's on MQL5. I use these just a little and I have some doubts about:
Whatever DLL works with MQL5?
Is there any difference between DLL's writed in C++ or .NET for MQL5. If yes, how it works?
Is there any kind of special complilation to use one DLL to work with a specific language?
Thanks.