Does the last error remain in the GetLastError() fonction until a new error come
Yes
Or does the GetLastError() fonction is reset ?
No, unless you reset it with ResetLastError()
Usually , when calling a function, you can check the return value to see if there was an error or not. If there was an error call GetLastError()
Thank's
From GetLastError():
"After the function call, the contents of _LastError are reset."
|
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
Does the last error remain in the GetLastError() fonction until a new error come
Or does the GetLastError() fonction is reset ?