Tag: algorithmic trading

如何从代码中调用DLL文件中的函数?

为什么第一个MessageBox()工作而第二个不工作? 我不知道问题出在哪里。 MQL5可以访问dll文件吗? 我需要调用读取JSON C#函数。 MetaEditor中没有出现错误。 C# .dll文件: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace TestMe { class Test { // [DllExport(“Add”, CallingConvention = CallingConvention.StdCall)] public static int Add(int left, int right) { return left + right; } public static int Sub(int left, int right) { return left – […]