anyKode Marilou
ContentsIndexHome
PreviousUpNext
Connection::GetLastSystemError

Getting the latest system error.

C++
M32 GetLastSystemError(void);

Latest system error, MODA_EOK if no error.

The return value is the last-error code value: You should call the GetLastError function immediately when a function's return value indicates that such a call will return useful data. That is because some functions call SetLastError(MODA_EOK) when they succeed, wiping out the error code set by the most recently failed function.

User can reset this value by calling ResetLastSystemError.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!