Open topic with navigation
WTSupported in traditional Synergy on Windows
USupported on UNIX
void dblerror(int error) void dblerror2(int error, char *string) void dblerror3(int error, char *string1, char *string2)
The number of the Synergy DBL error to generate.
An optional support string for the error.
The dblerror function issues a trappable Synergy DBL error to the Synergy DBL subroutine that was most recently active.
The support string is only accessed if the error message associated with error requires it. No return is made from this routine. An error is generated in the most recently active routine.
Errors are defined by mnemonic, not number. Use the get_errnum function to get the error number to be passed. The Synergy Errors tab contains a complete list of Synergy runtime errors.
On OpenVMS, the syntax for dblerror is
void dblerror(int, char*, char*)
The following example generates an $ERR_ARGSIZ error.