Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 15:13:34 +0000



Unable to update my Custom Study DLL while Sierra Chart is running?

View Count: 498

[2020-09-14 12:02:31]
mbilyanov - Posts: 62
Hi,

I'm working on a custom study and I would like to be able to update the DLL as Sierra Chart is running. Right now, the code is very simple and I have the

sc.FreeDLL=1;

directive in there, which I suppose is designed to let me update and test my DLL on the go.

However, right now, whenever I'm trying to overwrite the current version inside the `./Data` folder, I'm getting an error indicating that the file is in use.

What is the solution to that problem? Do I really need to restart SC everytime I'm building a new DLL?

I'm using Visual Studio.
[2020-09-14 12:29:22]
Ackin - Posts: 1865
just to "FreeDLL"

sc.FreeDLL is no longer required as of version 1836 and higher. As of that version, setting this has no effect.

[2020-09-14 16:18:40]
John - SC Support - Posts: 31105
Refer to the documentation starting here and the 2 items after it:
Analysis Menu: Release All DLLs and Deny Load (Build Advanced Custom Studies DLL Window >> Build)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account