SetAllocReturnString(1); { alloc memory for returned string, TS will free that memory }
SetMaxReturnStringLength(500); { limit the max length of return string to 500 }
Since I am having a problem with a memory leak in TradeStation related to the use of this function, if I reduce the return strong length parameter, might this help? I assume the number is characters(bytes).
Comment