Login Page - Create Account

Support Board


Date/Time: Mon, 27 Jan 2025 20:16:30 +0000



fatal error LNK1104

View Count: 1588

[2017-09-20 08:04:08]
bala - Posts: 74
HI,

I am getting the error:

"LINK : fatal error LNK1104: cannot open file 'C:\SierraChart\Data\Kub_mod_macdsd.dll'"

I have set sc.FreeDLL=1; in sc.SetDefaults section.

I have made sure there are write permissions to the directory ( I am admin).

I remove the study from the chart before trying to recompile.

As of now I have to restart Sierra everytime I need to compile.

Can you please help?

Thanks
[2017-09-20 09:25:06]
Sierra Chart Engineering - Posts: 104368
Restart Sierra Chart and make sure this is set for every single function in the DLL:
sc.FreeDLL=1;

But there can be a problem when the DLL is loaded even though it is going to be freed when the calculations are done.

So in these kinds of cases, it is hard to resolve.

But this reminds us that when we are doing a remote build, that we have to try to write to the DLL several times in order to get a chance to wait for it to be free.
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
[2017-09-20 15:28:21]
bala - Posts: 74
I have some feedback.

I used the following in my code:

SCDLLName("XX DLL")

int mydir ;

void drawmyline(SCStudyInterfaceRef sc){}

SCSFExport scsf_XX(SCStudyInterfaceRef sc) {}

When I removed the constructs (both the global variable and the function) from the program I was able to compile!

Thanks
[2017-09-20 17:57:10]
Sierra Chart Engineering - Posts: 104368
OK we would not know why that would be the case.
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
[2017-10-16 23:45:23]
Sierra Chart Engineering - Posts: 104368

But this reminds us that when we are doing a remote build, that we have to try to write to the DLL several times in order to get a chance to wait for it to be free.
We realize this could never be a problem and is a non-issue.
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