#include "WorkingDialog.h"
typedef void (*SaMsgErrHandler) (int, int, int, char *, int, int);
int type;
int major;
int minor;
char *message;
int aux1;
int aux2;
The data that your Error Handler function is called with depends upon the type of message. This is what gets passed to an error handler function when an error occurs. The message called from your Error Handler depends upon the error and/or data.
Error Type 2: Oracle
Error Type 3: Informix
Error Type 4: Login Failure (Sybase, Oracle and Informix)