Cicode Programming Reference > Cicode Function Categories > Dynamic Data Exchange Functions Introduction > DDEhGetLastError

DDEhGetLastError

Gets the latest error code issued from Windows for the conversation identified by the handle.

Syntax

DDEhGetLastError(Handle)

Handle:

The integer handle that identifies the DDE conversation, returned from the DDEhInitiate function.

Return Value

The error code last issued from Windows DDEML (for that conversation):

DMLERR_ADVACKTIMEOUT

0x4000

DMLERR_BUSY

0x4001

DMLERR_DATAACKTIMEOUT

0x4002

DMLERR_DLL_NOT_INITIALIZED

0x4003

DMLERR_DLL_USAGE

0x4004

DMLERR_EXECACKTIMEOUT

0x4005

DMLERR_INVALIDPARAMETER

0x4006

DMLERR_LOW_MEMORY

0x4007

DMLERR_MEMORY_ERROR

0x4008

DMLERR_NOTPROCESSED

0x4009

DMLERR_NO_CONV_ESTABLISHED

0x400a

DMLERR_POKEACKTIMEOUT

0x400b

DMLERR_POSTMSG_FAILED

0x400c

DMLERR_REENTRANCY

0x400d

DMLERR_SERVER_DIED

0x400e

DMLERR_SYS_ERROR

0x400f

DMLERR_UNADVACKTIMEOUT

0x4010

DMLERR_UNFOUND_QUEUE_ID

0x4011

Related Functions

DDEhInitiate, DDEhExecute, DDEhRequest, DDEhPoke, DDEhTerminate

Example

See DDEhInitiate

See Also

DDE Functions