bool CDBL_Connection::Refresh() { // close all commands first DeleteAllCommands(); // cancel all pending commands if (Check(dbcancel(GetDBLibConnection())) != CS_SUCCEED) return false; // check the connection status return DBDEAD(GetDBLibConnection()) == FALSE; }
CConsole::~CConsole ( void ) { // Delete all our commands DeleteAllCommands (); }