Login Page - Create Account

Support Board


Date/Time: Thu, 19 Jun 2025 09:47:53 +0000



Post From: Can't load my DLLs that work in Sierra on my local computer, on another computer

[2022-06-28 13:03:33]
ycomp - Posts: 324
I used to compile my code with the sierra chart uploader compiler.

So we will call those "old dlls"

some time ago I switched to Visual Studio 2022 instead.

we will call dlls created by VS "new dlls"

old and new same dlls just compiled by different compilers.

I have no problem using new dlls on my local computer in the various folders that I have copies of SierraChart installed in. e.g. my "DEV" instance and others.

Also these local Sierra Chart copies (I only run the 64bit versions).. don't seem to care if the dll file ends with "_64" or not.


*** VPS ***

I also run Sierra on a VPS. This is where I am having problems. It is windows server 2019, so pretty recent. It runs sierra chart fine, except for trying to run the new dlls. I also run 64 bit there.

I assume the old dlls are 64 bit.. however they do not have the "_64" dll suffix

however, the old dlls will also work fine if copied to my local computer in DATA folders of Sierra copies there.

So on my local computer I can run both the old and new dlls. But on the VPS only the old dlls.

If I try to copy in the new dlls instead, what I will get is:
- they don't show up in the Add Custom Studies dialog (they do on my local computer)
- existing chartbooks that have studies that work with older versions of the dll will say something about the DLL file not existing (even though it does at that specific location that was mentioned) or `SCDLLName` not being used (which it is, I confirmed both in my source and buy using `dumpbin`)

I have many dlls in the log but they all give these same messages as below. For the example below I'm using my `yScrolledback` dll

````
InternalVersionNumberToFileNameMap is empty for yScrolledBack | 2022-06-28 07:12:10.443 *
Error loading: C:\SierraChart\Data\yScrolledBack.dll. File not found or may be missing SCDLLName line. | 2022-06-28 07:12:10.443
````
(NOTE: like I mentioned above the dll does exist at this location and does use SCDLLName - and does work on sierra on my local computer)

````
Found DLL: yScrolledBack.dll | 2022-06-28 07:13:04.570
````

````
yScrolledBack.dll loading error. Windows error code 126: The specified module could not be found. | 2022-06-28 07:13:04.600
VersionNumber is 0 for yScrolledBack.dll | 2022-06-28 07:13:04.600
InternalVersionNumberToFileNameMap is empty for yScrolledBack | 2022-06-28 07:13:04.600 *
Closest match search for: C:\SierraChart\Data\yScrolledBack.dll returned empty result. | 2022-06-28 07:13:04.600 *
````

any ideas what might be causing this? The version of Sierra on the VPS is the latest version. but it also had the same problems about only working with the old dlls and not the new dlls before I updated to the latest version.. I believe it was 2390 before or some version around that number.
Date Time Of Last Edit: 2022-06-28 13:27:56