xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

OleError()

Returns the last OLE error code.

Syntax

OleError() --> nErrorCode

Return

The function returnes the error code of the OLE operation as a numeric value.

Description

When an OLE operation fails, the numeric error code of this operation can be retrieved OleError(). This error code is kept until a new OLE operation is performed. The value zero means "no error"

To obtain a human readable description of an OLE error, call Ole2TxtError().

Info

See also:CreateObject(), Ole2TxtError()
Category: OLE Automation , xHarbour extensions
Source:rtl\win32ole.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe