02-10-2006 02:17 PM
02-10-2006 02:27 PM
02-10-2006 03:01 PM
Thanks for the reply, Michael, but maybe my question wasn't clear enough or more likely I don't understand enough yet. I wasn't strictly speaking about a return parameter, but rather a sequence argument that the sequence set as output. That said, my understanding was that NewExecution can/will return before the sequence completes executing. If that is the case, then the sequence arguments parameter passed to NewExecution could not possibly have the sequence argument (date_time_string) set by the sequence. My assumption for this is that there are methods to call to determine whether the execution is complete or not after calling NewExecution to start the execution.
Even if NewExecution does wait until the sequence is complete before returning, how does one go about turning the _variant_t sequenceArgs parameter passed to NewExecution back into something like a PropertyObject where one can get at the parameters? I can't find any examples about what to do with a _variant_t parameter, or even what a _variant_t type is. Sounds like a void*, but it appears to be much more than that.
And you are correct -- I am calling the main sequence from the OI C++ code and not an entry point.
Hope this clarifies my question.
02-13-2006 04:05 PM
02-13-2006 04:31 PM