mql4文件调用的dll
2019-04-21 本文已影响0人
IBM_LELE
编写 MT4调用DLL
MT4本身是C++编写的,现在mql4语言能调用的DLL 必须是用C++开发的。VB,C#,Java写的DLL不能被mql4语言调用。
还有一类DLL,也是能够被mql4语言直接调用的:就是windows系统自带的DLL,如 user32.dll wininet.dll etc。
DLL作用
扩展MT4软件的功能,如 远程通信,加密保护ex4文件。
实战
#import "dlltest.dll"
//&a[] 数组引用类型。
int dlltest(int &a[]);
#import
新建C++项目





