TM1SystemProgressHookSet TM1 API
Posted: Mon Nov 02, 2015 2:02 pm
Hello,
I execute a TI process by using TM1ProcessExecuteEx from the API. As a process can take a longer time, I would like to use TM1SystemProgressHookSet.
I have a callback function as described in the tm1_api.pdf
http://www-01.ibm.com/support/knowledge ... esshookset
I would like to write the progress of the TI process into a logfile. How can I get only the progress (percent completed or number of steps completed)?
I execute a TI process by using TM1ProcessExecuteEx from the API. As a process can take a longer time, I would like to use TM1SystemProgressHookSet.
I have a callback function as described in the tm1_api.pdf
http://www-01.ibm.com/support/knowledge ... esshookset
My code looks like that:void CALLBACK ProgressFunction( unsigned char message, unsigned char action, unsigned long param, char * name );
Code: Select all
Erg = TM1ProcessExecuteEx( pLocal, vProcess, hParametersArray );
TM1SystemProgressHookSet( hUser, ProgressFunction );
iType = TM1ValType( hUser, Erg );