RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.GetLastError Function

Returns the last error reported by an operating system API call.

Pascal
function GetLastError: Integer; stdcall;
C++
__stdcall int GetLastError();

System

GetLastError returns the last error reported by an API call into the operating system. Calling this function usually resets the operating system error state. 

 

Win32Check

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!