Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 04:33:18 +0000



DLL file lock message

View Count: 1326

[2014-12-11 18:11:00]
CMG - Posts: 179
This is the problem:

I am installing a dll file on a new computer and the studies I created(4), 3 work and 1 does not. I decided to copy the .ccp file and compile it in the new computer and same result 1 out 4 studies do not work. When I compile the file I get the following message

http://www.sierrachart.com/image.php?l=1418321051406.png

I followed instruction, unlocked the DLL file but if I keep getting this message when I compile even when I have followed the instruction to unlock the dll file.

So far the same studies work fine on my all computer with a previous version of sierra and in the newest version 1 of them do not work.

I really need help with this please.

CMG

[2014-12-11 18:20:45]
Sierra Chart Engineering - Posts: 104368
We recommend deleting the DLL file which will be located in your Sierra Chart Data folder. And then try building the DLL again.
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
[2014-12-11 19:00:30]
CMG - Posts: 179
I did that and it builds correctly but if I open the .ccp file again, then the message comes up again, on top of that one of my indicators is not working on the new version but it is working on the old version..

any ideas...
[2014-12-11 19:03:06]
Sierra Chart Engineering - Posts: 104368
but if I open the .ccp file again,
What exactly do you mean by this?

If a study is not working, it really is impossible for us to say what the problem is. You will need to debug the code and see what the problem is. If you have a very specific question about something specific in the code, we will try to help with that.

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: 2014-12-11 19:03:23
[2014-12-11 19:19:31]
CMG - Posts: 179
The study is working in one computer with the version 1090 of Sierra Charts. With the version 1217 the study is NOT working. This is what I did.

1. Copy the DLL file on the Data folder on the new computer
2. DLL file worked but 1 study did not work
3. erase the DLL file
4. copy the .ccp file to the new computer with new version and compile it
5. test the study but does not work 1 of the 4
6. open the .ccp file and compile it
7. got message saying that the DLL file is locked
8. follow instruction to unlock the file
9. file was unlocked
10. Study is not working on new version but it works on old version

Maybe you can help me solve why it works with the old version and no with the new version

[2014-12-12 18:28:43]
Sierra Chart Engineering - Posts: 104368
7. This would be because once you performed step 5, the DLL will have been locked unless you use sc.FreeDLL = 1 in the code.

And as we indicated in another post, why the study is now working on a newer version of Sierra Chart, we do not know. This requires debugging you need to do on your side. Here is some information that will help with that:
https://www.sierrachart.com/index.php?page=doc/doc_DebuggingDLLs.html
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