I put this using directive at the top of my strategy file:
using System.Runtime.InteropServices; // for DllImportAttribute
public class JRC
{
[DllImport("JRS_32.DLL")] // declares function as part of external DLL
public static extern int JMART(double dSeries, double dSmooth, double dPhase, ref double pdOutPut, int iDestroy, ref int piSeriesID);
}
private int iSeriesID; double null_ref = 0; int intErr = JRC.JMART(0.0, 0.0, 0.0, ref null_ref, 0, ref iSeriesID);
Metadata file C:\Windows\System32\JRS_32.DLL could not be opened. "An attempt was made to load a program with an incorrect format".

Comment