Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 12:13:33 +0000



Copy study (DLL) from another PC

View Count: 2185

[2013-09-30 08:38:15]
User92573 - Posts: 530
Dear SC Support

I have created some custom studies (DLL) on my testing PC. Please can you tell me the best way to copy them across to my new installation on a different workstation?

Thank you.
[2013-09-30 15:21:03]
Sierra Chart - Max - Posts: 5730
You will need to copy over the DLL file into the Sierra Chart Data folder on the new computer. And to access it please refer to the documentation here:
http://www.sierrachart.com/index.php?l=doc/doc_DLLUsage.html#ACS
Sierra Chart Support
Date Time Of Last Edit: 2013-09-30 15:21:43
[2013-09-30 16:35:02]
User92573 - Posts: 530
I have completed the steps set out in all of the relevant associated documents that I can find but I am still unable to run my imported DLL studies. I am receiving the windows error 126: The specified module could not be found.

I have however:

Copied this in from another PC where it works fine.
Included DLL; EXP; ILK; LIB; PDB files as well as a I assume a cumulative list file with the extension StdyCollct.
Disconnected from internet and turned off the Firewall and AV software

But I am still obtaining the 162 error.

I do not want to install Visual Studio on a clean machine just to get this to work.

Please can you offer any further guidance.

Thank you.
[2013-09-30 16:42:06]
Sierra Chart Engineering - Posts: 104368
You only need to copy the DLL file over and also the study collections if needed. In what folder did you put the DLL file? It needs to go into the Data Files Folder specified in Global Settings >> General Settings in the copy of Sierra Chart you are copying it over to.
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
[2013-09-30 16:51:01]
User92573 - Posts: 530
I have copied the DLL into the \Data file only.
[2013-09-30 20:28:19]
Sierra Chart Engineering - Posts: 104368
If the DLL file is in the correct Data Files Folder, then the file should be found and you can add the custom studies through Analysis >>Studies >> Add Custom Study. Unless the file is getting blocked or restricted by the operating system or by anti-malware/antivirus software.
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
[2013-10-28 11:42:29]
User92573 - Posts: 530
Here was the solution.

No matter what I tried I still received the 162 error. After exhausting every avenue I could including AV, Firewall and File Security etc etc I finally used an alternative compiler to Microsoft's VC++ 2010 and as soon as I compiled using MINGW the problems immediately disappeared on 'all' DLL'. I hope this thread helps others.
[2013-10-28 16:44:17]
Sierra Chart Engineering - Posts: 104368
We would not expect a problem with using a DLL built from Microsoft Visual C++ 2010.
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