Navigation:  C/C++ Scripting Engine > Database Functions >

dbIsValid

Previous pageReturn to chapter overviewNext page

This function verifies that a pointer is a valid database object and that it is safe to use this pointer with other database object member functions. NULL values and pointers that are outside of the memory return 0. Misaligned pointers return 0. A pointer to an object that is deleted might or might not return 0. If the space is still unused, this function returns 0.

bar_dot

 

Synopsis

int dbIsValid( dbObject obj )

 

Return Value

Returns 1 if good, 0 if bad.

 

Parameters

obj  -  Database object