I figured out how to import an old .dll from another platform.
I copied the .dll directly into the \program files\NT folder - haven't tried the MyDocs\Custom location.
1) You may have to add any relevant declarations in the "Using declarations" region if you need some functions not included by default. In my case I needed to add "using System.Runtime.InteropServices;"
2) Under the "public class" region, you will have to add the .dll, and its parameters:
public class MyIndicator : Indicator
public static extern double MyX_SetDouble(double param1, double param2);
.... your variables, etc
The rest of your stuff...
Hope this helps.
Last edited by Tarkus11; June 13th, 2010 at 12:11 PM.
The following 3 users say Thank You to Tarkus11 for this post: