Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2020 23:40:17 +0000



Recompile code after change in functions

[2020-01-14 04:59:50]
User255315 - Posts: 86 | Ending Date: 2020-03-25
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: 81477 | Ending Date: 2020-06-09
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2020-01-14 08:21:12
[2020-01-14 10:04:44]
User255315 - Posts: 86 | Ending Date: 2020-03-25
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: 81477 | Ending Date: 2020-06-09
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2020-01-15 06:58:28]
User255315 - Posts: 86 | Ending Date: 2020-03-25
how do i download the latest sierra.h file
[2020-01-15 07:02:46]
User255315 - Posts: 86 | Ending Date: 2020-03-25
Nevermind, i figured it out. Thanks a lot!

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

Login

Login Page - Create Account