Support Board
Date/Time: Fri, 19 Dec 2025 17:43:17 +0000
Post From: set sc.FreeDLL by global constant
| [2016-01-02 04:54:08] |
| ejtrader - Posts: 689 |
|
You can do the following to get the result you are looking for: on the top of the cpp file - immediately after includes - you can have the following line: const int FREEDLL = 1; and in defaults section: sc.FreeDLL = FREEDLL; Pseudo code below: #include "sierrachart.h" const int FREEDLL = 1; if (sc.SetDefaults) { sc.FreeDLL = FREEDLL; } |
