Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 00:50:34 +0000



Installing a .CPP indicator

View Count: 666

[2020-03-04 19:26:28]
User311677 - Posts: 16
After following the step by step Im getting these erros:

-- Starting remote build of Custom Studies Source files: HilbertSineWaveSR.cpp. 32-bit -- 16:19:55
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

HilbertSineWaveSR.cpp: In function 'void scsf_HilbertSineWaveSR(SCStudyInterfaceRef)':
HilbertSineWaveSR.cpp:78:27: error: 'struct s_sc' has no member named 'PersistVars'
int& drawingSupport = sg.PersistVars->i1 ;

^
HilbertSineWaveSR.cpp:79:29: error: 'struct s_sc' has no member named 'PersistVars'
float& currentSRvalue = sg.PersistVars->f1;

^

-- End of Build -- 16:19:58

What should I do?
Private File
Attachment Deleted.
[2020-03-04 19:31:47]
Ackin - Posts: 1865
You need to use the new persistent variable functions instead:
sc.GetPersistentInt()

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

Login

Login Page - Create Account