Join this group to access featured content and participate in discussions related to DMX.
I am reading a file, passing some values from the file to an external function written in C.
I take the value returned from the C function and I am writing it to another file using reformat option.
If I use GetExternalFunctionValue consecutively for different data from input file, the return value contains only the value returned by the most recent function call.I have defined separate values for each GetExternalFunctionValue methods.
Hence if I have 3 different fields in my output file, all the 3 fields have the same value returned by the last function call when I perform a re-format.
Is there a way to add data to the outputfile as soon as I return from the external function call ?
It appears to me that the heap area used to return the values remains the same across multiple external function calls.