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
That documentation is pretty bad, but what does your ProgressFunction code look like?
While the TI is running you should see the callback function get called periodically with updates. Since the callback function is only registered for a single user handle, you'll only get messages corresponding to the actions performed on that single user handle. You'll get separate TM1ProgressMessageOpening()/Running/Closing messages for each tab. Looks like the tab definitions for those actions aren't in the docs or TM1API.H header file, but they should be pretty easy to figure out from debugging/logging the parameters passed into your callback. When you get a message of value TM1ProgressMessageRunning(), the "action" value will specify which tab, the "param" value will specify which input record is being processed, and the "name" value will be the process name.
I am logging the action and param when the message is TM1ProgressMessageRunning()
The action is always 26. I tried to compare the action with the TM1ProgressAction constants defined in tm1api.h ( TM1ProgressActionLoadingCube(), ... )