Support Board
Date/Time: Tue, 26 Nov 2024 13:50:11 +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 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
|