Call

Calls the runtime

Usage

HRESULT Call([in] VARIANT *name, 
   [in, out, optional] VARIANT *arg0,
   [in, out, optional] VARIANT *arg1, 
   [in, out, optional] VARIANT *arg2, 
   [in, out, optional] VARIANT *arg3, 
   [in, out, optional] VARIANT *arg4, 
   [in, out, optional] VARIANT *arg5, 
   [in, out, optional] VARIANT *arg6,
   [in, out, optional] VARIANT *arg7, 
   [in, out, optional] VARIANT *arg8, 
   [in, out, optional] VARIANT *arg9, 
   [in, out, optional] VARIANT *arg10, 
   [in, out, optional] VARIANT *arg11, 
   [in, out, optional] VARIANT *arg12,
   [in, out, optional] VARIANT *arg13 )

Return value

"Call" returns one of the following result codes (note that these values are given in hexadecimal format):

Name Value Description
S_OK 0 Call succeeded
ACUGT_E_UNEXPECTED 80040200 Unexpected error
ACUGT_E_MULTIPLE_THREADS 80040203 Call (or Call50) has been called in multiple threads. For more information, see Calling the Runtime DLL.
ACUGT_E_INITIALIZE_FAILED 80040204 Initialize failed. (Initialize cannot be called after Shutdown in a single process.) For more information, see Calling the Runtime DLL.
ACUGT_E_PROGRAM_MISSING 80040205 Program missing or inaccessible
ACUGT_E_NOT_COBOL 80040206 Not a COBOL program
ACUGT_E_CORRUPTED 80040207 Corrupted program
ACUGT_E_INADEQUATE_MEMORY 80040208 Inadequate memory available
ACUGT_E_UNSUPPORTED 80040209 Unsupported version of object code
ACUGT_E_PROGRAM_IN_USE 8004020A Program already in use
ACUGT_E_TOO_MANY 8004020B Too many external segments
ACUGT_E_CONNECTION_REFUSED 8004020C Connection refused; perhaps AcuConnect® is not running.