Determines whether a particular DBPROCESS is inactive.
BOOL dbdead ( PDBPROCESS dbproc );
where
TRUE or FALSE.
dbdead is particularly useful in user-supplied error handlers.
If a DBPROCESS is inactive, almost every DB-Library function that receives it as a parameter immediately fails, calling the user-supplied error handler. You must close an inactive DBPROCESS connection with dbclose and open a new connection with dbopen.
dbdead usually returns true when a network connection is broken. Note any other errors or messages that you receive.