Support Board
Date/Time: Sat, 11 Jan 2025 16:58:24 +0000
Post From: USING THIRD PARTY DLLs IN SIERRA CHART
[2016-12-20 08:27:01] |
michelh - Posts: 159 |
Hi SC Engineering, I am trying to use a 3rd party dll to create a custom study for SC. The 3rd party dll is already compiled so I do not have the source code. I have some general questions about this and would appreciate your guidance. 1) This 3rd-party DLL was build using Visual Studio 2008 (C++) on an 32-bit Windows platform. 2) I use Sierra Charts on 64-bit platform. 3) The 3rd-party DLL accepts a string input, integer and double input parameters, integer and double arrays, and returns integer and double array references. 4) I plan to invoke the DLL functions at the close of each bar. I have the following questions : 1) What is the best way interface with a DLL from ACSIL ? Should I use a wrapper to encapsulate the features of the DLL ? 2) Are there any potential Unicode issues between ACSIL and interfacing with the DLL ? 3) The indicator will be run on larger number of charts concurrently. Does Sierra Charts or ACSIL have any rules or guidelines on multi-threaded DLLs ? 4) If the DLL takes too much time to process, will it freeze the Sierra Charts terminal, or are the DLL functions called from a separate thread ? 5) Will using exception handling (try-catch) slow down the ACSIL indicator ? |