Support Board
Date/Time: Sat, 12 Sep 2026 01:23:53 +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; } |
