COM/OLE Return Codes

Top  Previous  Next

 

 

Values returned by automation methods:

 

Constant Value

Value

Description

FL_ERROR_FROM_FILELINK

0

Any return code greater than or equal to this value comes from FileLink and not from the automation component.

FL_ERROR_SUCCESS

-1

The requested operation completed successfully.

FL_ERROR_NO_SESSION

-2

A FileLink session has not been established by calling FLStartSession().

FL_ERROR_NO_RESPONSE

-3

An internal error indicating that a command sent to FileLink has not returned properly from a COM/OLE call. Make sure that there are no instances of FileLink running and retry. A Windows reboot may be necessary..

FL_ERROR_SESSION_EXISTS

-4

A previous session with the same name already exists.

FL_ERROR_TIMED_OUT

-5

The command sent in a blocking FLSendCommand() call has failed to complete in the allotted time-out period.

FL_ERROR_NO_CMD_PENDING

-6

No command is pending that can be stopped on a call to FLStopCommand().

FL_ERROR_CMD_IN_PROGRESS

-7

A script command sent on a non-blocking FLSendCommand() call is in progress.

FL_ERROR_VAR_NOT_FOUND

-8

The specified FileLink script variable specified in a FLGetVariable() call is not defined.

FL_ERROR_CANNOT_CREATE

-9

An internal error indicating that a named FileLink session cannot be created. Make sure that there are no instances of FileLink running and retry. A Windows reboot may be necessary.

FL_ERROR_INTERNAL_FAILURE

-10

An internal error indicating that an internal Windows error has occurred. A Windows reboot may be neccessary.