Now the mt4 still has that name :(
See also documentation for scope resolution.
hmm, I tried that now, but immediately I get this compiler error due the the use of the mt4's b625 own GetLastError():
'GetLastError' - ambiguous call to overloaded function with the same parameters myEA.mq4 384 48
//This is the Line:
Print ("read 1: File ",fnName," not found ", GetLastError());
ok I found the problem:
GetLastError() // mt4
has to be replaced by
::GetLastError() // mt4
I would expect an intelligent compiler to be able to distinguish itself between its own function:
and the Windows function which always has to be called by
Obviously the programmers didn't think of their users.
To add comments, please log in or register