Support Board
Date/Time: Mon, 21 Apr 2025 14:44:31 +0000
When to update sierrachart.h?
View Count: 97
[2025-04-17 22:41:36] |
User509533 - Posts: 73 |
When updating from the Zip installer, I only copy the SierraChart_64.exe file to my existing Sierra Chart folder. I do not copy the new sierrachart.h, SierraChartStudies_64.dll, or UserContributedStudies_64.dll files. So far, my existing or newly compiled custom .dll files continue to work without any issues using the older sierrachart.h, SierraChartStudies_64.dll, and UserContributedStudies_64.dll. However, I understand that at some point it may become necessary to update these files. Would it be possible to include a note in the Change Log at the following link whenever an update to the .h or .dll files is required for compatibility with a new version? https://www.sierrachart.com/index.php?page=doc/Whats_New.php Thank you! Date Time Of Last Edit: 2025-04-17 22:52:06
|
[2025-04-18 16:50:49] |
User719512 - Posts: 309 |
You only need to update sierrachart.h for your local build when you use a function that requires a higher version number. For example: sierrachart.h // 2658 int32_t (SCDLLCALL* GetSelectedUserDrawnDrawingFromChart)(const int ChartNumber, s_UseTool& r_ACSILChartDrawing); If you want to use this function, it was introduced in v2658. So you need the header file that requires that minimum version as specified by SC_DLL_VERSION. // SC_DLL_VERSION gets updated only when there have been changes to the DLL // study interface. This will be set to the Sierra Chart version number // that includes the changes made to the interface. #define SC_DLL_VERSION 2748 |
To post a message in this thread, you need to log in with your Sierra Chart account: