And this causes an Access Violation:
int OnInit() { MqlParam params[1]; params[0].string_value="XXX"; Test(params); return(INIT_SUCCEEDED); } void Test(MqlParam ¶ms[]) { Print(params[0].string_value); } void OnTick() { }
The error goes on, it's much bigger:
MT4/MT5 bugs have to be reported to ServiceDesk. Did it ?
Oi Vilela tudo bom?
Você chegou a receber algum feedback referente a este bug?
Estou recebendo ele também.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Can't pass an array of scturcts as reference.
This bug was introduced in the build 1583:
Result:
Replace MqlParam to MqlBookInfo and the reuslt is even weirder:
Change or a basic type (int, float, double, string...) and it works as supposed.
So... how to by pass this?