Hi,
In the process model I have declared a boolean variable, and in my UI I want to access that variable.
To do that I have tried the code below but it doesn't work
OleErrChk( TS_SeqFileGetProperty (gCurrentSequenceFile, &errorInfo, TS_SeqFileHasModel, CAVT_BOOL, &hasModel));
if (hasModel){
OleErrChk( TS_SeqFileGetModelSeqFile (gCurrentSequenceFile, &errorInfo, &modelDesc, &modelFile));
CA_FreeMemory (modelDesc);
OleErrChk(TS_SeqFileAsPropertyObject (modelFile, NULL, &modeFilePropObj));
OleErrChk(TS_PropertyExists (modelSeqFile, NULL, "PopupErrorMessage", 0, &VarExists));
}
When I ask the propertyobject if "PopupEr
rorMessage" exists, I get an error "Handle invalid".
Does somebody now how to do it
thanks in advance