Does the last error remain in the GetLastError() fonction until a new error come
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()
"After the function call, the contents of _LastError are reset."
To add comments, please log in or register