anyKode Marilou Documentation
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 (09/08/2010), Copyright (c) 2009 anyKode. All rights reserved.
What do you think about this topic? Send feedback!