Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 10:50:16 +0000



Recompile code after change in functions

View Count: 799

[2020-01-14 04:59:50]
User255315 - Posts: 127
Hi SC,

I played around with the sc.OpenFile and sc.ReadFile functions however i get the following error message: FileHandler needs to be recompiled for this version of Sierra Chart. | 2020-01-14 04:50:57.281 *
FileHandler needs to be recompiled for this version of Sierra Chart. | 2020-01-14 04:50:57.789 * (FileHandler is the name of the file)

This error message is persisting even after I have used the int types for function parameters as mentioned in your Update Notes for version 2017.

Could you please look into what is wrong here? Or if possible, update an example code for the new sc.OpenFile function?
[2020-01-14 08:20:55]
Sierra Chart Engineering - Posts: 104368
That error message, means that you do have to recompile the study. It means it has not been recompiled. Make sure you are using the DLL with Sierra Chart that has actually been rebuilt for the current version. And you are using an up-to-date SierraChart.h file.

All of this will be automatic when using the Remote Build functionality.
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
Date Time Of Last Edit: 2020-01-14 08:21:12
[2020-01-14 10:04:44]
User255315 - Posts: 127
I am using Sierra version 2028, 64-bit and the dll compiled using VS2015 64-bit. All my other studies have successfully ported using the aforementioned configuration.

The file handling is working only with the remote build option as of now. What might be the problem here?
[2020-01-14 19:01:46]
Sierra Chart Engineering - Posts: 104368
We think the problem is that you are not using the latest SierraChart.h header file or you are not actually using the recompiled DLL.
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
[2020-01-15 06:58:28]
User255315 - Posts: 127
how do i download the latest sierra.h file
[2020-01-15 07:02:46]
User255315 - Posts: 127
Nevermind, i figured it out. Thanks a lot!

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

Login

Login Page - Create Account