Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:01:59 +0000



Post From: debugging my function calls to external DLLs

[2015-02-25 18:28:07]
shrubberyMoves - Posts: 2
For faster debugging of my custom study, I have set sc.FreeDLL = 1. Therefore I am storing HMODULE my_Handle_To_External_DLL as a persistent variable, rather than as the global variable recommended in "ACSIL Programming Concepts > Making Function Calls to External DLLs." All appears well.

1) by not using a global HMODULE, will multiple copies of the same DLL be loaded for the same study used on different charts?
2) do i need to call FreeLibrary myself?
3) anything else i should mind?

Thank you in advance.