Login Page - Create Account

Support Board


Date/Time: Thu, 27 Feb 2025 13:06:12 +0000



Post From: Using SC build system from different folders

[2021-02-01 11:04:50]
User907968 - Posts: 833
If you want to update the custom study dll whilst Sierra Chart is running, just follow these steps and you should have no problem:

1) Compile your custom study in VS
2) In Sierra Chart select menu item 'Analysis' -> 'Build Custom Studies DLL'
3) In the new opened 'Build Advanced Custom Studies DLL' window, select menu item 'Build' -> 'Release All DLLs and Deny Load' (Don't close the window though)
4) Paste your freshly compiled custom study DLL (from step 1) into the appropriate SC\data folder
5) In the 'Build Advanced Custom Studies DLL' window, select menu item 'Build' -> 'Allow Load DLLs' and close the window if you wish

That is it.

If you are regularly using these commands, you could instead consider adding control bar buttons for this functions, there are control bar commands available for both releasing and loading DLLs.

One thing to be aware of, if you are using persistent pointers in your custom studies, then you should either close the chartbook or remove the study instance before releasing the DLLs, otherwise you will end up with invalid pointers.