Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 10:43:28 +0000



Post From: Dynamic Memory Allocation

[2014-03-10 17:39:12]
Sierra Chart Engineering - Posts: 104368

If you add "sc.UpdateAlways =1;" to yours example you will get exceptions also when accessing the Array, " p_DoubleArray[0] = 100; ".
We do not notice this. Also it would make no sense for this to cause an exception.

We have an idea what the problem is. When allocating and releasing memory, probably there is a problem when sc.FreeDLL= 1. Therefore, set it to 0. Most likely this is the source of the problem. After recompiling the source code, remove the study from the chart and re-add it.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2014-03-10 17:42:34