Read-only

 

GetLastError Method


Description

Returns the last error from the error buffer. If the API return value is NOT equal to S_OK, call this method to get the detailed error information.

 VB Syntax

plts.GetLastError errorInfo

Variable

(Type) - Description

plts

(object) - A PLTSApplication object

errorInfo

(String) Variable to store the returned error information.

Return Type

String

Default

None

Examples

Dm errorInfo
plts.GetLastError errorInfo

C++ Syntax

HRESULT GetLastError(BSTR* errInfo);

Interface

IPLTSApplication