Support Board
Date/Time: Sun, 22 Dec 2024 11:51:23 +0000
Post From: UseTool Text bug
[2015-08-04 17:25:40] |
Sierra Chart Engineering - Posts: 104368 |
Lines of code like this are not safe: const char* EMA_Value1Chars = sg.FormatGraphValue(EMA_Value1, sg.BaseGraphValueFormat).GetChars(); It is remembering the pointer to the beginning of a string which is only in temporary existence. The code has to be like this: SCString EMA_Value1Chars = sg.FormatGraphValue(EMA_Value1, sg.BaseGraphValueFormat); Also, it is very rare we would ever work with a DLL file. We would only work with a simple code example that we would compile ourselves. 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: 2015-08-04 17:26:09
|