Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 02:30:12 +0000



DLL load error: Likely missing dependency file

View Count: 2526

[2017-08-23 20:39:06]
jizzary - Posts: 177
Hi

I can successfully load the DLL with Sierra version 1568, but Sierra version 1598 can't load the DLL

what is the missing dependency file anyway ?

Using a 3rd party application that enquires DLLs as for exportable functions.
it finds my DLL perfect and identifies the exportable functions of the DLL.
Why does Sierra version 1598 fails to load the DLL ?
Date Time Of Last Edit: 2017-08-23 21:20:38
[2017-08-23 21:55:10]
Sierra Chart Engineering - Posts: 104368
Check the Window >> Message Log for the exact error message.
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
[2017-08-23 23:17:35]
jizzary - Posts: 177
If i'm not missing something, your answer is not helpful.

The reported issue is presented when I'm trying to load a study from a DLL I have developed
(chart menu => Studies => Add Custom Study)

Sierra identifies the DLL, but instead of of presenting the DLL name & Version
and the my own studty name, it presents: DLL load error: Likely missing dependency file

what can be the reason for that.

Thanks
[2017-08-23 23:55:35]
Sierra Chart Engineering - Posts: 104368
Listen to what we say.

We told you to look at Window >> Message Log for the exact error message that gives you the Windows operating system error message and then you can conduct your own research about the problem.

We have nothing further to say.
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
[2017-08-24 20:20:19]
jizzary - Posts: 177
Sierra's Message Log
-------------------------
Error loading D:\AMP\Lior\Data\jabot_futures.dll. Windows error code 126: The specified module could not be found. | 2017-08-24 15:17:16 *
DLL likely has a missing dependency file. | 2017-08-24 15:17:16 *


My custom DLL looks for another DLL that resides in the very same path (same folder), So it should find that DLL.
Have any idea what should I look for ?

Thanks
[2017-08-24 23:27:54]
Sierra Chart Engineering - Posts: 104368
If the DLL file actually exists, then usually this error is the result of a dependent DLL file which either does not exist or there is some problem loading it.

We do not know why there would be a problem.

We really do not recommend linking to other DLLs but use static linking instead.
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
[2017-08-25 13:22:29]
jizzary - Posts: 177
>We really do not recommend linking to other DLLs but use static linking instead.
I think differently but that's ok to not agree on everything.

I managed to resolve the issue ... so I want to inform as it may assist other users of Sierra.
It was about CRT DLL that was not present on a computer where only windows 10 OS is installed.
I was required to install an SDK which includes the missing redistribution DLLs of MS.

I could find it by using a tool called PESTUDIO (free on the web) that reports the DLL's missing dependencies.
(there are few other such tools)
Date Time Of Last Edit: 2017-08-25 13:34:37
[2019-04-18 14:24:20]
User972768 - Posts: 166
It seems that Windows 10 v1809 (at least build 17763.437) has CRT DLL as default installation.

I came across similar issue in my Custom Study when 32-bit DLL was fine and 64-bit would refuse to load on some client systems. I found that I had different compiler options for 32 and 64 bit DLL. My 32-bit was configured as /MT and 64-bit as /MD. More details at https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019

Cheers
[2019-11-17 04:12:49]
D Keith Showalter - Posts: 1
I have the same Windows 10 V1809 with the same error. Any chance there is a simple solution for this?
[2019-11-17 04:43:17]
Sierra Chart Engineering - Posts: 104368
You need to contact the developer of the custom study in regards to this and you should also be running the current version of Sierra Chart. Only they can help you resolve this.

For instructions to update:
Software Download: Fast Update
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: 2019-11-17 04:43:32

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

Login

Login Page - Create Account