Image | Audio | Video |
---|---|---|
X |
Returns a description of the last error. Call this API after any other API returns an error code.
Authorization
None.
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbaudio.lib | libdmbaudio.a (AIX) |
| libdmbaudio.sl (HP-UX) |
| libdmbaudio.so (Solaris) |
Include file
dmbaudio.h
Syntax
long DBaGetError( SQLINTEGER *sqlcode, char *errorMsgText );
Parameters
Error codes
Examples
Get the last error, storing the SQL error code in errCode and the message text in errMsg:
#include <dmbaudio.h> rc = DBaGetError(&errCode, &errMsg);