Пример #1
0
void GUIFreeDialog( a_dialog *ui_dlg_info, VFIELD *fields, char *title,
                    bool colours_set, bool is_dialog )
{
    if( ui_dlg_info != NULL ) {
        GUIDeleteDialog( ui_dlg_info );
        uienddialog( ui_dlg_info );
    }
    if( colours_set ) {
        GUIResetDialColours();
    }
    FreeFields( fields );
    GUIMemFree( title );
}
Пример #2
0
//Close - close cursor and free resources used by cursor
void DBCursor_ORACLE::close()
{
		//free column data
		FreeFields();

		//Make sure any stored query results are free.
		if (ORACLE_res != NULL) 
		{
			oclose(ORACLE_res);
			delete ORACLE_res;
			ORACLE_res = NULL;
		}

		isBOF = False;
		isEOF = True;  
		recordNum = recordCount = fieldCount = 0;
}