What is the best way to test and log a Pro Toolkit?
I would like to develop an application that makes parameters easier to manage with the toolkit.
The development sequence I think is as follows.
1. Can I get information about the selected object?
2. Can I get subcomponents for the selected object?
3. Can I manage parameters for each object through a loop?
I have been in trouble since 1 step.
I wanted to get a model list of the session with the following code:
ProError TestProSessionMdlList()
{
ProError status;
ProMdl *mdl;
int arr_size = 0, i;
ProMessageDisplay(MSGFIL, "USER %0s", &arr_size) ;
status = ProSessionMdlList(PRO_PART,&mdl,&arr_size);
if(status!=PRO_TK_NO_ERROR)
{
ProMessageDisplay(MSGFIL, "USER %0s", "Err") ;
return (-1);
}
else
{
ProMessageDisplay(MSGFIL, "USER %0s", &arr_size) ;
}
}
I want to make sure that the results from a particular function are correct.
I know that return returns a simple success failure.
Therefore, we want to check the result through ProMessageDisplay.
However, the output will be '&'.

Or any other suggestions?
Kind regards

