DDE Error Return Codes
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
DDE Error Return Codes
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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. |
Updated
ByJason Lee
Was this article helpful?
5 out of 5 stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5