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 |
---|---|
dmbvideo.lib | libdmbvideo.a (AIX) |
| libdmbvideo.sl (HP-UX) |
| libdmbvideo.so (Solaris) |
Include file
dmbvideo.h
Syntax
long DBvGetError( 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 <dmbvideo.h> rc = DBvGetError(&errCode, &errMsg);