Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 15:20:52 +0000



[Programming Help] - ACS exchanged files after updating to new version

View Count: 628

[2020-08-27 16:26:10]
User783475 - Posts: 12
Hi, I did an Advanced custom study, but today I updated SC to the new version and now, when I try to build my DLL, a lot of errors occur.
Mainly the cause is some variable type changed
e.g. sc.ChartbookName has changed from SCString ChartbookName to SCString (SCDLL* ChartbookName)()
So now, when in my code appears
if (sc.ChartbookName == OrderDetails.SourceChartbookFileName)
it occurs the error
no match for 'operator==' (operand types are 'SCString (*)()' and 'SCString')
Can anyone help me?
[2020-08-27 17:17:52]
User907968 - Posts: 802
You can read about the change in this post from Sierra Chart Engineering - Version 2151 Available: Foundation For Millisecond/Microsecond Timestamping | Post: 230981
You could also inspect the header file - sierrachart.h - in your ACS directory and see the changes.

sc.ChartbookName


is now

sc.ChartbookName()

[2020-08-27 18:40:45]
User783475 - Posts: 12
Really THANKS! It's exactly what I needed

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

Login

Login Page - Create Account