Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 15:32:13 +0000



Is sc.GetStudyIDByName obsolete in 64-bit?

View Count: 782

[2019-03-01 12:30:42]
Blue Brazilian - Posts: 42
I successfully compiled a 32-bit version of a study that includes a call to sc.GetStudyIDByName, but when I compile the study for 64-bit, I get the following compilation error:
error C2039: 'GetStudyIDByName': is not a member of 's_sc'

Is there an alternative function in 64-bit that does the same thing?
[2019-03-01 12:42:09]
Sierra Chart Engineering - Posts: 104368
What compiler are you using? You must be using an old header file.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-03-01 14:33:31]
Blue Brazilian - Posts: 42
Well, I just re-installed the compiler and get the same message. Which header file do you suspect is out of date?
[2019-03-01 17:35:01]
Sierra Chart Engineering - Posts: 104368
Make sure you are using this header file in your Sierra Chart installation folder:
/ACS_Source/SierraChart.h.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-03-02 00:09:04]
Blue Brazilian - Posts: 42
Updating to the latest version of he header file fixed the problem.
Thanks.
[2019-03-03 00:01:10]
Sierra Chart Engineering - Posts: 104368
If that header was out of date, you need to make sure to include all of the other header files from the /ACS_Source folder. They are all matched with each other.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account