I'm trying to create a couple EdmStrLst5(s) to pass into IEdmEnumeratorVariable9.SetValueVariables(). Unfortunately, I keep getting a memory exception. My guess is the input lists aren't getting marshaled properly across the COM interface.
Do I need to use a factory or utility or something to create these list objects? I've used them many times as returned parameters, but never as input parameters.
EdmStrLst5 updateVarNames = new EdmStrLst5();
EdmStrLst5 updateVarValues = new EdmStrLst5();
...
m.SetValueVariables(updateVarNames, updateVarValues, configName);
Any help would be appreciated.
SolidworksSolidworks Pdm enterprise Pdm