I’m trying to retrieve the enum values of a parameter using the the EnumParameter.GetValues(ref SortedDictionary<string,int> listValues) method but it does not work.
Here is an extract of my code
var userSet = camera.CurrentUserSet();
// get first parameter of type _Enum
var parameter = userSet.GetAvailableParameters().First(x => x.GetParameterType() == Parameter.Type._Enum);
// try to get the enum values for this parameter
var enumParameter = EnumParameter.ConvertFromParameter(parameter);
SortedDictionary<string, int> valueList = new SortedDictionary<string, int>();
enumParameter.GetValues(ref valueList);
I get the following exception
System.EntryPointNotFoundException : ‘Can’t find entry point ‘enumParameterGetEnumValuesListCount’ into DLL ‘MechEyeApiWrapper’.’