Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:41:33 +0000



Post From: LoadLibrary for call function issue

[2024-05-20 15:46:33]
AliAmir - Posts: 2
I have a file named.code.cpp
And another file named study.dll

I want use study from other .dll file ,to add some my custom code before that

When i want to run this to call function from dll. And set on chart:

SCSFExport scsf_CountDownTimer(SCStudyInterfaceRef sc)}{


But on this line:

HINSTANCE hGetProcIDDLL = LoadLibrary("study.dll");
f_funci funci = (f_funci)GetProcAddress(hGetProcIDDLL, "scsf_CountDownTimer");

Sierra crashes with this alert:

Failed to get the function address for scsf_CountDownTimer in C:\SierraChart\Data\study.dll. Error: Windows error code 127: The specified procedure could not be found. *

The Custom DLL study has just caused a CPU exception.


Please help me to fix this problem