emmanuelrosa / erosanix

My main NixOS/Nix Flakes repository
MIT License
78 stars 4 forks source link

sierrachart: Failed to get the function address for scsf_WaveTrendIndicator in C:\SierraChart\Data\SierraChartStudies.dll #2

Closed emmanuelrosa closed 1 year ago

emmanuelrosa commented 1 year ago

Opening the studies window shows this error in the log

Failed to get the function address for scsf_WaveTrendIndicator in C:\SierraChart\Data\SierraChartStudies.dll. Error: Windows error code 127: Procedure not found. | 2022-08-25 19:32:04.771 *

I think the problem is that during the first run of the sierrachart script the study DLLs from that version of Sierra Chart are copied to a user-specific directory. I did that because the Data directory is meant for volitale files. However, it seems that those DLLs are sometimes updated with new functions. In that case, the current script will not install those updated DLLs.

This means I will need to handle this special case differently so that the upstream study DLLs are always used. I don't want to loose the ability for seamless rollbacks.

emmanuelrosa commented 1 year ago

Completed.