I am trying to use an external DLL library. All the functions that I used so far are working fine except for this one function which throws an EntryPointNotFoundException
I tried using VS dumpbin and I can find the function's name in the exports
My dllimport
code
[return: MarshalAs(UnmanagedType.I1)]
[DllImport(DLLPATH, EntryPoint = prefix + "APIConfigureEyeMeasurements"]
protected static extern bool ConfigureEyeMeasurements(byte instance, bool doTopMeasurements, bool doBaseMeasurements, bool doMin,
bool doMax, bool doRiseTime, bool doFallTime, bool doPeakToPeak,
bool doEyeAmplitude, bool doEyeHeight, bool doEyeWidth, bool doCrossingPercentage, bool doJitter, bool doSNR, bool doVEC, bool doTDEC);
The function from its header file:
bool __stdcall APIConfigureEyeMeasurements(
byte instance,
bool doTopMeasurements, bool doBaseMeasurements, bool doMin,
bool doMax, bool doRiseTime, bool doFallTime, bool doPeakToPeak,
bool doEyeAmplitude, bool doEyeHeight, bool doEyeWidth,
bool doCrossingY, bool doJitter, bool doSNR, bool doVEC, bool doTDEC);
Could it be something caused by the parameters or from the import that I am using. The strange thing is that all the other functions are working fine