下载MetaTrader 5
要添加评论,请登录注册
您在市场已经发布程序了吗?也把它放到您的博客中 - 窗口小工具将帮到您!
Kevin007
11
Kevin007 2013.08.19 08:20 

As you see below,I use this function from DLL :

MT4_EXPFUNC int __stdcall test(int a[])
{
        return a[0];
}

and the code in MT4 is :

int b[2];
b[0] = 7;
b[1] = 8;
Print("******:",test(b),",Error:",GetLastError());

so,I was expected the result 7,but actually the result is :

2013.08.19 16:14:48     SockSer USDJPY,H4: ******:-1548528064,Error:0

and sometimes the result maybe:

2013.08.19 15:47:09     SockSer USDCAD,H1: ******:1889394240,Error:0

so this result is not for sure,but what Im sure about is that this is not what I expect,I doubt whether its something wrong between vc++6.0 and MT4.

Anyone can help?thx a lot.

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