Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 03:43:48 +0000



Trying to setup DLL access

View Count: 455

[2023-12-21 17:31:17]
KylieV1618 - Posts: 67
Im trying to setup DLL access, but I keep getting `false` as my value for access.
And my service number is always 0.

Running the following code...always executes the `return`



if (sc.IsUserAllowedForSCDLLName == false)
{
if (sc.Index == 0)
{
sc.AddMessageToLog("You are not allowed to use this study", 1);
}
return;
}
else
{
if (sc.Index == 0)
{
int slvl = (int)sc.DLLNameUserServiceLevel;
SCString Message;
Message.Format("SCDLLName Service Level: %i", slvl);
sc.AddMessageToLog(Message, 1);
if (slvl < 1)
{
sc.AddMessageToLog("You are not allowed to use this study.", 1);
return;
}
}
}


```

I would expect the first block to pass, because sc.IsUserAllowedForSCDLLName should be true. (cuz Im the main member of the DLL list)

but its not, and it fails and never gets to the Service level check.


I've rebooted 4 times, Ive tried `Force login`. Ive deleted the dll and made sure the download is working as it should.
Whats going on here??
Date Time Of Last Edit: 2023-12-22 00:07:17
[2023-12-22 17:08:21]
Sierra_Chart Engineering - Posts: 17179
What is the SCDLLName set to at the top of the source code file?

And make sure the DLL file you have uploaded through the control panel, actually has been recompiled and is according to the source code you have.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-12-22 17:09:49
[2024-01-19 21:34:18]
virtuallyt - Posts: 3
Hello,
I have the same problem. I put my DllName as this : SCDLLName("Squeeze The Game - 01 - Main Studies").
I have also tried with another login but I keep have the same problem (The Dll has been automatically downloaded).
Could you help ?
[2024-01-19 22:46:00]
virtuallyt - Posts: 3
Ok, I have sold my problem, after many retries, by renaming my SCDLLName with the same name I have declared it in your Custom Studies Manager (without any space)...
Could you now explain how I could delete my useless declaration of Custom Studies DllName and clean my "custom studies" workspace ?
[2024-01-19 22:52:29]
John - SC Support - Posts: 36286
Give us the names of the grouping names you want us to remove and we will take care of that for you.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-20 09:13:06]
virtuallyt - Posts: 3
Could you delete following Grouping Names :
- scsf_STGDisplayText
- STG_Studies
- STG_Studies.dll
- STG_Studies_64
Thanks for your help.
[2024-01-22 14:26:25]
John - SC Support - Posts: 36286
We have removed these.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-22 15:19:19]
Sierra_Chart Engineering - Posts: 17179
Let us know if any other help is needed here.
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, use 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