Salesforce

DDERR (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

DDERR (Magic xpa 4.x)

Retrieves the last error that occurred during a Magic xpa DDE conversation. A subsequent call to DDERR clears the previously reported error code and resets the return value. This function retrieves useful information for debugging purposes.

Syntax:

DDERR ( )

Parameters:

None

Returns:

A numeric value ranging between 0 and 15, with the following meanings:

0

No error in the last DDE operation, or a reset return value if this is the second consecutive call to the function

1

Failure to initialize the DDEML system

2

Failure to connect to the server (could be a wrong or missing service parameter in the preceding DDE call)

3

Server was busy during the DDE call and could not service the call

4

Server did not process the DDE service required (could be a wrong parameter, an invalid combination of parameters, or an invalid required service combination)

5

The last DDEGet failed (server could not provide the required item)

6

No item was specified on a GET or POKE request

7

No command was specified on an EXEC request

14

Unknown type of error

15

Attempt to execute a DDE function on an operating system other than Windows

See also:

DDEBegin, DDEEnd, DDEGet, DDEPoke, DDExec

Reference
Attachment 
Attachment