Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 10:56:25 +0000



SCDLLName missing even though it's there

View Count: 1514

[2019-07-19 00:21:22]
User929084 - Posts: 60
Hi. I'm trying to modify a study and it builds no problem but when I try to add it to chart it say that SCDLLName is missing even though it's there on top, under #include "sierrachart.h" . I tried it with SCDLLName and //SCDLLName and it doesn't seem to work.
attachmentBidAskDifferenceWithMovingAverage.cpp - Attached On 2019-07-19 00:20:04 UTC - Size: 1.32 KB - 257 views
[2019-07-19 01:28:59]
User90125 - Posts: 715
Try removing any spaces and make it look something like

SCDLLName("BidAskDifferenceWithMovingAverage")

[2019-07-19 01:42:01]
User929084 - Posts: 60
I tried it and didn't help still have the same issue.

Thank you.
[2019-07-19 02:40:52]
Sierra Chart Engineering - Posts: 104368
It works just fine for us using the Analysis >> Build Custom Studies DLL >> Build>> Remote Build.

This is the final result on the chart:
http://www.sierrachart.com/image.php?Image=1563504002989.png
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-07-19 13:01:15]
User929084 - Posts: 60
For some reason I still get the "Missing SCDLLName..." after study is successfully build. And I get this msg in the log:

The custom study "C:\SierraChart\Data\BidAskDifferenceWithMovingAverage_64.dll" is missing the SCDLLName line. Windows error code 127: The specified procedure could not be found. | 2019-07-19 07:41:54.894 *

I will try do download current version and see if that helps.

But to clarify, how should I include the SCDLLName?

1. //SCDLLName("Name of Study")

2. SCDLLName("Name of Study")

Because in the documentation it is #2, but in user contributed studies it is #1.

Thank you.
[2019-07-19 16:44:39]
Sierra Chart Engineering - Posts: 104368
Like number 2. Exactly how are you performing a build of that source code 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-07-19 19:22:14]
User929084 - Posts: 60
I build it by following step-by-step instructions on your website. But I think I figured out what the problem was.

The first time I build it I put //SCDLLName... Then when I build it the second time with SCDLLName... I didn't delete the first study from the /Data folder. Don't know if building second study with the same name will overwrite the first study.

So this time around I deleted both .cpp from /ACS_Source and .dll from /Data folders and build it again from scratch and it works.

Thank you.

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

Login

Login Page - Create Account