GetLastError

There are 1 entries for the tag GetLastError
Platform Builder: Interpreting GetLastError()
When Win32 API functions fail it is possible to learn more about the cause of the error by calling GetLastError(). GetLastError() returns an error number that is set by the API by calling SetLastError(). It is important to read the documentation before using GetLastError() to ensure that the API actually sets a error, if it doesn’t GetLastError() will happily return an error number set by a different function call. Of course the next step is to figure out what that number means. It is important to ......

Posted On Monday, July 14, 2008 11:11 PM | Comments (0)