Download MetaTrader 5

DLL supporting language

To add comments, please log in or register
dr0zaxx
17
dr0zaxx  

Hello,

Is it possible to use a DLL which is created with C#.NET with MT5? Or is C++ the only way to go.

Please advise.


Thanks!

Vladimir Batrudinov
4944
Vladimir Batrudinov  
dr0zaxx:

Hello,

Is it possible to use a DLL which is created with C#.NET with MT5? Or is C++ the only way to go.

Please advise.


Thanks!

Hi,

Everything depends on the task you want to solve.

MQL5 supports the decisions made in MS Visual Studio, as well as decisions made in the development of alternative means of DLL.

Andrey Voytenko
24859
Andrey Voytenko  

Function import in MQL5 can only import Windows DLL and does not support NET libraries.

You can create a DLL library in languages with standard calls stdcall or cdecl on the popular programming languages C++, Delphi and others.

The site contains articles how to create DLL: How to Exchange Data: A DLL for MQL5 in 10 Minutes  and Guide to writing a DLL for MQL5 in Delphi

To add comments, please log in or register