Vitaly / Publications
Forum
Let's go SetLastError!!!
GetLastError() will clear the special variable last_error. And so will hide all possible except expected if (GetLastError() == 4066) for example. I want to use last_error itself, but it's invisible. The _LastError() variable is not zeroed in MT5 GetLastError(). Thank goodness! ResetLastError() was