Assuming one has a C DLL that provides functionality you would need for a NinjaScript indicator, how does one incorporate the DLL? This is specifically for the Jurik JMA function:
[DLLImport("jrs_ut.dll")]
unsafe public static extern int JMAUT (
I'm getting the errors "unsafe code may only appear if compiling with /unsafe", "type or namespace name 'DLLImport' could not be found'", and "type or namespace 'DLLImportAttribute' could not be found"
I have
using System.Runtime.InteropServices;
in the imports. Thanks!
Gordon
Comment