Re: pass VB6 array to C# dll
-
Hello, I have created a C# DLL with two functions: One function has two parameters: double, double The other function has four paramters: double[], double[], double[], double[] Using VB6, I can successfully call the first function. However, upon trying to call the second function, I get a compile-time error: Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic. I need to pass arrays of doubles. How can I get the program to work? Any help is appreciated.
Regards, Mike
-
Hello, I have created a C# DLL with two functions: One function has two parameters: double, double The other function has four paramters: double[], double[], double[], double[] Using VB6, I can successfully call the first function. However, upon trying to call the second function, I get a compile-time error: Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic. I need to pass arrays of doubles. How can I get the program to work? Any help is appreciated.
Regards, Mike