Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:53:59 +0000



Post From: LoadLibrary for call function issue

[2024-05-21 00:17:52]
ForgivingComputers.com - Posts: 960
I am not an expert at C++, I just write Custom Studies with ACSIL.

I know nothing about this:

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

But, as far as I know, only the Sierra_Chart_64.exe process can call a custom study DLL. Unless you have the study.cpp file from which the DLL was built, I don't think a new custom study can incorporate an existing DLL. Of course, the subgraphs from study.dll can be read by your study, but you cannot change the inputs to study.dll if it was not designed to allow that.
Date Time Of Last Edit: 2024-05-21 00:20:30