Login Page - Create Account

Support Board


Date/Time: Fri, 18 Oct 2024 06:17:35 +0000



Post From: retrieving string file name from settings to be played in playfile

[2015-10-23 18:13:02]
Sierra Chart Engineering - Posts: 104368

char * RootFileName = new char[std::strlen(EntryAlert_RootFileName.GetString())];
You are not allocating enough space. You need to allow for the null terminator. What you defined is dangerous and will lead to instability in Sierra Chart.

In general we strongly recommend doing something like this unless you really know what you are doing.
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