Support Board
Date/Time: Mon, 16 Jun 2025 21:31:37 +0000
Post From: Can't load custom dll
[2022-09-19 06:11:16] |
User857150 - Posts: 11 |
Hello. I wrote my own study and compiled it to dll. Then, I put it in the Data folder, however, when I try to add this study (ADdd custom study) from Sierra Chart I get the following error: ------------------------Error from SC Message Log---------------- Found DLL: libMyStudy.dll | 2022-09-19 01:02:31.145 Found DLL: UserContributedStudies_64.dll | 2022-09-19 01:02:31.145 libStudy.dll loading error. Windows error code 126: The specified module could not be found. | 2022-09-19 01:02:31.161 VersionNumber is 0 for libStudy.dll | 2022-09-19 01:02:31.161 InternalVersionNumberToFileNameMap is empty for libStudy | 2022-09-19 01:02:31.161 * Closest match search for: C:\SierraChart\Data\libStudy.dll returned empty result. | 2022-09-19 01:02:31.161 * ------------------------------ Notice! I build this study using Clion using gcc compiler. The study works perfectly on my Sierra Chart on my PC, but when I move the same file to my server (Windows Server 2016) I get this error. Both programs are built with the same version of Sierra Chart 2439. What is the problem here and how to fix it? |