Under DDE, transactions return success or failure codes. You may sometimes require more information about recent warning or error messages.
To get the latest error code:
· Use the GetLastDDEError transaction.
An integer value is returned. You can either check its meaning in DDE error codes, or use another transaction.
To return a text message that corresponds to a particular error code:
· Use the GetErrorMessage transaction.
Text corresponding to the specified error code is returned.
Note that these transactions only work for Imagenation-produced errors, such as using the wrong number of parameters. It does not work with general DDE errors, such as timeouts.
See also