下载MetaTrader 5
要添加评论,请登录注册
您知道MQL5的事件处理吗?
1968445
33
1968445 2008.05.12 03:28 

在MT4 目录里D:\IFX - MetaTrader\experts\samples

1 启动vc编译生成的DLL文件放在什么位置?

2 ExportFunctions.ex4 放在什么位置。

1

我是这么做的

a vc6 compile DLL project and create dll file, copy the dll file to the folder: MetaTrader\experts\indicators

b copy ExportFunctions.mq4 to folder: MetaTrader\experts\indicators

c copy the file samples\include\sampledll.mqh to the D:\IFX - MetaTrader\experts\include

d compile the ExportFunctions.mq4.

e active terminal.exe insert the indicator: ExportFunctions:

this is the results from terminal :

2008.05.12 09:12:07 ExportFunctions EURUSD,M1: removed
2008.05.12 09:12:07 ExportFunctions EURUSD,M1: loaded successfully

havn't any correct print message,Tooooooooooooooooooooooooooooooooooooo Bad !!!!

startexcel
30
startexcel 2008.05.13 04:01  

应该你的DLL有问题.

qq:6066484

我可能可以帮助你

1968445
33
1968445 2008.05.13 12:08  

startexcel

thank u so much for ur attention. and I have add ur qq to my friend lists. ple accept,thank u again.

I have already solved this problem.Give the correct sequence for the comers like me:

a vc6 compile DLL project and create dll file, copy the dll file to the folder: MetaTrader\experts\libraries

b copy XXXX.mq4 to folder: MetaTrader\experts\indicators

c copy the file samples\include\sampledll.mqh to the MetaTrader\experts\include

d compile the XXXX.mq4.

e active terminal.exe insert the indicator: ExportFunctions:

startexcel
30
startexcel 2008.05.15 03:15  

1.mt4的DLL最好是ansi编码方式,UNICODE会出错.

2.dll位置没有放错

3.mq4放哪没关系,ex4放对就可以了

4.mt4要设置充许导入DLL

5.最好能把你的DLL和MQ4贴出看看

/
要添加评论,请登录注册