How Can We Help?
DDE Error Return Codes
The return value of $DDEFunction is one of the following. A negative result indicates failure.
Value | Description |
0 | DDE service completed successfully. |
-1001 | Bad DDE service indicator type; p2 is not of type longint or int. |
-1002 | Unknown DDE service indicator value; p2 not 1, 2, 3, 4, or 5. |
-1003 | Attempt to CONNECT failed. |
-1004 | POKE data rejected by application. |
-1005 | PEEK returned no value; Returned as the string “-1005” from PEEK. |
-1006 | Time-out on service request, Returned as the string “-1005” from PEEK. |
-1007 | EXECUTE failed; application did not execute command. |