/* RUN all tasks also if SET BACKGROUND TASKS is OFF */ void hb_backgroundRunForced( void ) { HB_BOOL bOldSet = s_bEnabled; s_bEnabled = HB_TRUE; hb_backgroundRun(); s_bEnabled = bOldSet; }
/* RUN all tasks also if SET BACKGROUND TASKS is OFF */ void hb_backgroundRunForced( void ) { BOOL bOldSet = hb_setGetBackgroundTasks(); PHB_ITEM pItem = hb_itemPutL( NULL, TRUE ); hb_setSetItem( HB_SET_BACKGROUNDTASKS, pItem ); hb_backgroundRun(); hb_itemPutL( pItem, bOldSet ); hb_setSetItem( HB_SET_BACKGROUNDTASKS, pItem ); hb_itemRelease( pItem ); }