DDE Error Return Codes

The return value of $DDEFunction is one of the following. A negative result indicates failure.




DDE service completed successfully.


Bad DDE service indicator type; p2 is not of type longint or int.


Unknown DDE service indicator value; p2 not 1, 2, 3, 4, or 5.


Attempt to CONNECT failed.


POKE data rejected by application.


PEEK returned no value; Returned as the string "-1005" from PEEK.


Time-out on service request, Returned as the string "-1005" from PEEK.


EXECUTE failed; application did not execute command.