GetLastError Method

Returns last error code for the latest operation.

Syntax

Visual Basic
Function GetLastError() As Long 
Delphi
function GetLastError(): FTVSPCErrorCode; 
Visual C++ (MFC)
FTVSPCErrorCode GetLastError();
Visual C++ (#import)
FTVSPCErrorCode GetLastError();

Parameters

None.

Return

Last error code. Refer to FTVSPCErrorCode.

See Also

FTVSPCErrorCode