|
IDL Connectivity Bridges: Using Exported COM Objects |
|
The GetLastError method gets the error string for the last error that has occurred. It is called after a method call returns an error. The returned error string is usually the actual IDL error message, if IDL generated the error message.
HRESULT GetLastError([out,retval] BSTR* LastError)
The error string for the last error that occurred.
IDL Online Help (March 06, 2007)