short ReinitializeServer()
Description
This function reinitializes the connection to a database server. Normally, you need to call this function if one of the other QMF for Windows API functions returns an error. Calling this function results in an implicit rollback, which closes any open cursors and invalidates all outstanding query IDs.
Return Value
Return value will be zero if successful or non-zero if unsucessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.
Related Tasks