Login Page - Create Account

Support Board


Date/Time: Thu, 31 Oct 2024 12:15:48 +0000



Post From: set sc.FreeDLL by global constant

[2016-01-02 04:54:08]
ejtrader - Posts: 688
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;
}