I have a function in C# that takes in an array of an enum. For some reason I can't seem to get this to make itself visible to COM properly. In the VB6 object browser the function parameter reads <Unsupported Variant Type>.
Here is my function from my public interface:
void CurveListRequest (string RequestID, CurveNameConstants Curves);
The parameter 'CurveNameConstants' is an enum. Is there any way to make this work so someone using VB6 or VBA could enter the enums into the function?
I have tried several of the MarshalAs attribute types but none of them seem to solve the issue.