Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 09:08:00 +0000



ERROR CODE 126.

View Count: 1062

[2020-01-19 17:18:08]
User725605 - Posts: 60
I have just upgraded an older but good computer to Windows 10 Home.
I have been running Sierra Charts on this computer on Windows 7 Pro.
I have been trying to install a .dll file to run on one of my charts.
This has been done successfully on another (newer,)computer with Windows 10 - running Sierra.
The OLDER computer will NOT run or allow this .dll to operate.
I was advised by the creator of this .dll to uninstall Sierra and do a fresh install of it as a fix, as something may have gone awry when Windows
10 was installed as the original copy of Sierra was installed on Windows 7.
Still no luck.
This is the error that I consistently receive in the Sierra Message Log:
CreateStudyDLLModuleFunctionObjectError loading C:\SierraChart\Data – Name of file – Windows error code 126: The specified module could not be found.
[2020-01-20 03:45:46]
Sierra Chart Engineering - Posts: 104368
Most likely this is going to be because the custom study DLL file has another dependent DLL file which is not installed. You need to contact the developer of the custom DLL study and find what other DLL files it depends upon.

I was advised by the creator of this .dll to uninstall Sierra and do a fresh install of it as a fix, as something may have gone awry when Windows
10 was installed as the original copy of Sierra was installed on Windows 7.
No, this is definitively unnecessary.
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
[2020-01-20 19:11:22]
Dryheat31 - Posts: 10
Hi, I am the author of the code for the .dll file mentioned in this post. There are no other DLL files required.

The project settings (MS Visual Studio) list the following as "Additional Include Directories": C:\SierraChart\ACS_Source;%(AdditionalIncludeDirectories)

Which should ALWAYS be present for every standard installation of Sierra Chart. If the Sierra Chart program is installed in some other directory it may prevent this dll file from working.

Aside from the code itself there is only the following includes listed for this dll file:

#include "sierrachart.h"

#include "scstudyfunctions.h"

The source code contains only two SCSubgraphRef elements and the only other data type referenced in the code is SCDataTime.

Please advise corrective action. The source code was provided to the client so if you have instructions for them to compile their own dll file they should be able to do so.
[2020-01-21 10:46:20]
Sierra Chart Engineering - Posts: 104368
But how do you know there are no other dependent DLLs? Are you statically linking to the C++ runtime libraries?
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
[2020-01-23 23:56:45]
Dryheat31 - Posts: 10
I have followed only the instructions provided in your documentation. I have not deviated from those instructions in the least degree. The entire development environment is setup according to the instructions provided in your own documentation. If following those instructions results in some sort of dependency then you should already understand exactly what is causing the problem. I can send you the source code and you can compile it yourself (so long as the source code is not released in a public venue). Or you can provide instructions to the client and they can compile it directly on their own computer.

How do I know.... are you kidding me?
[2020-01-27 18:45:09]
Sierra_Chart Engineering - Posts: 14068
We no longer provide any documentation for using Visual C++ outside of the build commands within Analysis >> Build Custom Studies DLL. When using the internal build commands, there are going to be no external dependencies.


Here is the documentation for building a custom study:
How to Build an Advanced Custom Study from Source Code
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