DLL supporting language

 

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!

 
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.

 

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

Reason: